#5E8D23#5E8D23

#5E8D23 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.8% C 0.143 H 130.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5E8D23
RGBrgb(94, 141, 35)
HSLhsl(87, 60%, 35%)
HSVhsv(87, 75%, 55%)
CMYKcmyk(33.3%, 0%, 75.2%, 44.7%)
CIE-LABlab(53.55, -32.95, 48.34)
CIE-LCHlch(53.55, 58.50, 124.28°)
OKLaboklab(58.84% -0.0934 0.1082)
OKLCHoklch(58.84% 0.143 130.8)
XYZxyz(14.4442, 21.5503, 4.9884)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8D23 #52238D
analogous
#8D8723 #5E8D23 #298D23
triadic
#5E8D23 #235E8D #8D235E
tetradic
#5E8D23 #238D87 #52238D #8D2329
square
#5E8D23 #238D87 #52238D #8D2329
split-complementary
#5E8D23 #23298D #87238D
monochromatic
#1D2B0B #3D5C17 #5E8D23 #7FBE2F #9CD555

Accessibility & contrast

On white

3.95
#5E8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5E8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8D23
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8D23#FFFFFF#000000##000000
##5E8D231.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820E
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#608779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e8d23;
/* rgb */ color: rgb(94, 141, 35);
/* oklch */ color: oklch(58.8% 0.143 130.8);
Tailwind
colors: {
  custom: {
    50: '#90ae66',
    500: '#5e8d23',
    950: '#000000',
  },
}
SCSS
$custom: #5e8d23;
$custom-light: #90ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8d23",
  "rgb": {
    "r": 94,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 86.604,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.14292,
    "h": 130.8
  },
  "luminance": 0.21551
}

Semantic roles & 50–950 ramp

primary
#5E8D23
secondary
#8053B9
accent
#44E38B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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