#5E8823#5E8823

#5E8823 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.6% C 0.136 H 129.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5E8823
RGBrgb(94, 136, 35)
HSLhsl(85, 59%, 34%)
HSVhsv(85, 74%, 53%)
CMYKcmyk(30.9%, 0%, 74.3%, 46.7%)
CIE-LABlab(51.96, -30.62, 46.78)
CIE-LCHlch(51.96, 55.91, 123.21°)
OKLaboklab(57.55% -0.0871 0.1049)
OKLCHoklch(57.55% 0.136 129.7)
XYZxyz(13.7236, 20.1089, 4.7481)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8823 #4D2388
analogous
#887F23 #5E8823 #2C8823
triadic
#5E8823 #235E88 #88235E
tetradic
#5E8823 #23887F #4D2388 #88232C
square
#5E8823 #23887F #4D2388 #88232C
split-complementary
#5E8823 #232C88 #7F2388
monochromatic
#1B270A #3C5716 #5E8823 #80B930 #9DD353

Accessibility & contrast

On white

4.18
#5E8823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5E8823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8823
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8823#FFFFFF#000000##000000
##5E88231.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E11
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#618274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e8823;
/* rgb */ color: rgb(94, 136, 35);
/* oklch */ color: oklch(57.6% 0.136 129.7);
Tailwind
colors: {
  custom: {
    50: '#8fab65',
    500: '#5e8823',
    950: '#000000',
  },
}
SCSS
$custom: #5e8823;
$custom-light: #8fab65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8823",
  "rgb": {
    "r": 94,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 84.95,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57552,
    "c": 0.13633,
    "h": 129.7
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#5E8823
secondary
#7B50B7
accent
#46E287
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8823

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

Preview Lab → · Contrast checker → · Palette generator →

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