#507A2F

A color in the Green family

#507a2f is a color in the Green family: RGB(80, 122, 47), HSL(94°, 44%, 33%), CMYK(34%, 0%, 61%, 52%). Closest named color: darkolivegreen. Contrast is 5.04:1 on white and 4.17:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#507a2f
RGBrgb(80 122 47)
RGB (legacy)rgb(80, 122, 47)
RGB %rgb(31% 48% 18%)
HSLhsl(94 44% 33%)
HSV / HSBhsv(94, 61%, 48%)
HWBhwb(94 18% 52%)
CMYKcmyk(34%, 0%, 61%, 52%)
CIELAB (D50)lab(46.85 -25.53 35.26)
LCHlch(46.85 43.53 125.9)
OKLaboklab(0.5313 -0.0792 0.0835)
OKLCHoklch(0.5313 0.115 133.49)
Decimal5274159

Properties

Color ToneGreen
Closest named colordarkolivegreen ΔE 4.6
Closest web-safe color#666633
Hue94°
Saturation (HSL / HSV)44% / 61%
Lightness (HSL)33%
Brightness or Value (HSV)48%
Luminance (Rec.601 / Rec.709)40% / 42%
Relative luminance (WCAG)0.1583
Red / Green / Blue80 / 122 / 47

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.04:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.17:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 74.7 / -27 · As background with white / black text: Lc -80.1 / 29.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #507a2f;
  --color-brand-oklch: oklch(53.13% 0.115 133.49);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(80 122 47 / 50%); }
/* Tailwind CSS */
<div class="bg-[#507a2f] text-[#507a2f] border-[#507a2f]">