#5E8A23#5E8A23

#5E8A23 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.1% C 0.139 H 130.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5E8A23
RGBrgb(94, 138, 35)
HSLhsl(86, 60%, 34%)
HSVhsv(86, 75%, 54%)
CMYKcmyk(31.9%, 0%, 74.6%, 45.9%)
CIE-LABlab(52.59, -31.56, 47.41)
CIE-LCHlch(52.59, 56.95, 123.65°)
OKLaboklab(58.07% -0.0896 0.1062)
OKLCHoklch(58.07% 0.139 130.2)
XYZxyz(14.0079, 20.6775, 4.8429)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A23 #4F238A
analogous
#8A8323 #5E8A23 #2B8A23
triadic
#5E8A23 #235E8A #8A235E
tetradic
#5E8A23 #238A83 #4F238A #8A232B
square
#5E8A23 #238A83 #4F238A #8A232B
split-complementary
#5E8A23 #232B8A #83238A
monochromatic
#1B280A #3D5917 #5E8A23 #7FBB2F #9DD454

Accessibility & contrast

On white

4.09
#5E8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5E8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A23
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A23#FFFFFF#000000##000000
##5E8A231.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918010
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#608476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8a23;
/* rgb */ color: rgb(94, 138, 35);
/* oklch */ color: oklch(58.1% 0.139 130.2);
Tailwind
colors: {
  custom: {
    50: '#8fac65',
    500: '#5e8a23',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a23;
$custom-light: #8fac65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a23",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 85.631,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58068,
    "c": 0.13898,
    "h": 130.2
  },
  "luminance": 0.20678
}

Semantic roles & 50–950 ramp

primary
#5E8A23
secondary
#7D51B7
accent
#45E388
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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