#5E8F23#5E8F23

#5E8F23 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.146 H 131.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5E8F23
RGBrgb(94, 143, 35)
HSLhsl(87, 61%, 35%)
HSVhsv(87, 76%, 56%)
CMYKcmyk(34.3%, 0%, 75.5%, 43.9%)
CIE-LABlab(54.18, -33.86, 48.97)
CIE-LCHlch(54.18, 59.53, 124.67°)
OKLaboklab(59.36% -0.0959 0.1095)
OKLCHoklch(59.36% 0.146 131.2)
XYZxyz(14.7418, 22.1454, 5.0876)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8F23 #54238F
analogous
#8F8A23 #5E8F23 #288F23
triadic
#5E8F23 #235E8F #8F235E
tetradic
#5E8F23 #238F8A #54238F #8F2328
square
#5E8F23 #238F8A #54238F #8F2328
split-complementary
#5E8F23 #23288F #8A238F
monochromatic
#1D2D0B #3E5E17 #5E8F23 #7EC02F #9CD657

Accessibility & contrast

On white

3.87
#5E8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5E8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8F23
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8F23#FFFFFF#000000##000000
##5E8F231.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840D
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#60897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e8f23;
/* rgb */ color: rgb(94, 143, 35);
/* oklch */ color: oklch(59.4% 0.146 131.2);
Tailwind
colors: {
  custom: {
    50: '#90b066',
    500: '#5e8f23',
    950: '#000000',
  },
}
SCSS
$custom: #5e8f23;
$custom-light: #90b066;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8f23",
  "rgb": {
    "r": 94,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 87.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5936,
    "c": 0.14553,
    "h": 131.2
  },
  "luminance": 0.22146
}

Semantic roles & 50–950 ramp

primary
#5E8F23
secondary
#8254BA
accent
#44E48D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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