#5E8923#5E8923

#5E8923 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.8% C 0.138 H 129.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5E8923
RGBrgb(94, 137, 35)
HSLhsl(85, 59%, 34%)
HSVhsv(85, 74%, 54%)
CMYKcmyk(31.4%, 0%, 74.5%, 46.3%)
CIE-LABlab(52.28, -31.09, 47.09)
CIE-LCHlch(52.28, 56.43, 123.43°)
OKLaboklab(57.81% -0.0884 0.1055)
OKLCHoklch(57.81% 0.138 129.9)
XYZxyz(13.8651, 20.3919, 4.7953)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8923 #4E2389
analogous
#898123 #5E8923 #2B8923
triadic
#5E8923 #235E89 #89235E
tetradic
#5E8923 #238981 #4E2389 #89232B
square
#5E8923 #238981 #4E2389 #89232B
split-complementary
#5E8923 #232B89 #812389
monochromatic
#1B280A #3D5817 #5E8923 #7FBA2F #9DD353

Accessibility & contrast

On white

4.14
#5E8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5E8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8923
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8923#FFFFFF#000000##000000
##5E89231.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F10
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#618375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8923;
/* rgb */ color: rgb(94, 137, 35);
/* oklch */ color: oklch(57.8% 0.138 129.9);
Tailwind
colors: {
  custom: {
    50: '#8fab65',
    500: '#5e8923',
    950: '#000000',
  },
}
SCSS
$custom: #5e8923;
$custom-light: #8fab65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8923",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 85.294,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5781,
    "c": 0.13766,
    "h": 129.9
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#5E8923
secondary
#7C51B7
accent
#45E288
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8923

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

Preview Lab → · Contrast checker → · Palette generator →

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