#5E7C2F#5E7C2F

#5E7C2F is a mid, moderate yellow-green. Relative luminance 0.170; OKLCH L 54.6% C 0.110 H 127.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5E7C2F
RGBrgb(94, 124, 47)
HSLhsl(83, 45%, 34%)
HSVhsv(83, 62%, 49%)
CMYKcmyk(24.2%, 0%, 62.1%, 51.4%)
CIE-LABlab(48.26, -23.83, 37.68)
CIE-LCHlch(48.26, 44.58, 122.31°)
OKLaboklab(54.58% -0.0673 0.0874)
OKLCHoklch(54.58% 0.11 127.6)
XYZxyz(12.3368, 17.0000, 5.3201)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7C2F #4D2F7C
analogous
#7C732F #5E7C2F #377C2F
triadic
#5E7C2F #2F5E7C #7C2F5E
tetradic
#5E7C2F #2F7C73 #4D2F7C #7C2F37
square
#5E7C2F #2F7C73 #4D2F7C #7C2F37
split-complementary
#5E7C2F #2F377C #732F7C
monochromatic
#1B230D #3C501E #5E7C2F #80A840 #9DC362

Accessibility & contrast

On white

4.77
#5E7C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5E7C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7C2F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7C2F#FFFFFF#000000##FFFFFF
##5E7C2F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#61776C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7c2f;
/* rgb */ color: rgb(94, 124, 47);
/* oklch */ color: oklch(54.6% 0.110 127.6);
Tailwind
colors: {
  custom: {
    50: '#8ea26b',
    500: '#5e7c2f',
    950: '#000000',
  },
}
SCSS
$custom: #5e7c2f;
$custom-light: #8ea26b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7c2f",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 83.377,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.11035,
    "h": 127.6
  },
  "luminance": 0.17
}

Semantic roles & 50–950 ramp

primary
#5E7C2F
secondary
#7B5CAA
accent
#53D586
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F07
muted
#7D7E7A

Preview Lab

Preview with #5E7C2F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5E7C2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva