#5D8823#5D8823

#5D8823 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.5% C 0.137 H 130.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5D8823
RGBrgb(93, 136, 35)
HSLhsl(86, 59%, 34%)
HSVhsv(86, 74%, 53%)
CMYKcmyk(31.6%, 0%, 74.3%, 46.7%)
CIE-LABlab(51.90, -31.02, 46.70)
CIE-LCHlch(51.90, 56.06, 123.59°)
OKLaboklab(57.49% -0.0881 0.1047)
OKLCHoklch(57.49% 0.137 130.1)
XYZxyz(13.6217, 20.0564, 4.7434)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8823 #4E2388
analogous
#888023 #5D8823 #2A8823
triadic
#5D8823 #235D88 #88235D
tetradic
#5D8823 #238880 #4E2388 #88232A
square
#5D8823 #238880 #4E2388 #88232A
split-complementary
#5D8823 #232A88 #802388
monochromatic
#1A270A #3C5716 #5D8823 #7EB930 #9CD353

Accessibility & contrast

On white

4.19
#5D8823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5D8823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8823
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8823#FFFFFF#000000##000000
##5D88231.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E11
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#5F8274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d8823;
/* rgb */ color: rgb(93, 136, 35);
/* oklch */ color: oklch(57.5% 0.137 130.1);
Tailwind
colors: {
  custom: {
    50: '#8fab65',
    500: '#5d8823',
    950: '#000000',
  },
}
SCSS
$custom: #5d8823;
$custom-light: #8fab65;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8823",
  "rgb": {
    "r": 93,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 85.545,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.13686,
    "h": 130.1
  },
  "luminance": 0.20057
}

Semantic roles & 50–950 ramp

primary
#5D8823
secondary
#7C50B7
accent
#46E288
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8823

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

Preview Lab → · Contrast checker → · Palette generator →

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