#5E8523#5E8523

#5E8523 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.8% C 0.132 H 129.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5E8523
RGBrgb(94, 133, 35)
HSLhsl(84, 58%, 33%)
HSVhsv(84, 74%, 52%)
CMYKcmyk(29.3%, 0%, 73.7%, 47.8%)
CIE-LABlab(51.01, -29.20, 45.83)
CIE-LCHlch(51.01, 54.34, 122.50°)
OKLaboklab(56.78% -0.0832 0.1029)
OKLCHoklch(56.78% 0.132 129)
XYZxyz(13.3070, 19.2757, 4.6093)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8523 #4A2385
analogous
#857B23 #5E8523 #2D8523
triadic
#5E8523 #235E85 #85235E
tetradic
#5E8523 #23857B #4A2385 #85232D
square
#5E8523 #23857B #4A2385 #85232D
split-complementary
#5E8523 #232D85 #7B2385
monochromatic
#1A2409 #3C5516 #5E8523 #80B530 #9ED151

Accessibility & contrast

On white

4.33
#5E8523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5E8523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8523
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8523#FFFFFF#000000##000000
##5E85231.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B12
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#617F72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e8523;
/* rgb */ color: rgb(94, 133, 35);
/* oklch */ color: oklch(56.8% 0.132 129.0);
Tailwind
colors: {
  custom: {
    50: '#8fa865',
    500: '#5e8523',
    950: '#000000',
  },
}
SCSS
$custom: #5e8523;
$custom-light: #8fa865;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8523",
  "rgb": {
    "r": 94,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 83.878,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56777,
    "c": 0.13233,
    "h": 129
  },
  "luminance": 0.19276
}

Semantic roles & 50–950 ramp

primary
#5E8523
secondary
#774FB5
accent
#46E284
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E8523

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

Preview Lab → · Contrast checker → · Palette generator →

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