#5E7D24#5E7D24

#5E7D24 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.121 H 126.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5E7D24
RGBrgb(94, 125, 36)
HSLhsl(81, 55%, 32%)
HSVhsv(81, 71%, 49%)
CMYKcmyk(24.8%, 0%, 71.2%, 51%)
CIE-LABlab(48.48, -25.24, 42.87)
CIE-LCHlch(48.48, 49.74, 120.49°)
OKLaboklab(54.73% -0.0723 0.0968)
OKLCHoklch(54.73% 0.121 126.7)
XYZxyz(12.2682, 17.1741, 4.3373)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D24 #43247D
analogous
#7D7024 #5E7D24 #327D24
triadic
#5E7D24 #245E7D #7D245E
tetradic
#5E7D24 #247D70 #43247D #7D2432
square
#5E7D24 #247D70 #43247D #7D2432
split-complementary
#5E7D24 #24327D #70247D
monochromatic
#171E09 #3A4D16 #5E7D24 #82AD32 #A1CC4F

Accessibility & contrast

On white

4.74
#5E7D24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5E7D24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7D24
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7D24#FFFFFF#000000##FFFFFF
##5E7D241.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847416
Deuteranopia (green-blind)
#7F732B
Tritanopia (blue-blind)
#62776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d24;
/* rgb */ color: rgb(94, 125, 36);
/* oklch */ color: oklch(54.7% 0.121 126.7);
Tailwind
colors: {
  custom: {
    50: '#8fa264',
    500: '#5e7d24',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d24;
$custom-light: #8fa264;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d24",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 80.899,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54727,
    "c": 0.12085,
    "h": 126.7
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#5E7D24
secondary
#704DAF
accent
#49DF7D
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E7D24

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

Preview Lab → · Contrast checker → · Palette generator →

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