#5D8423#5D8423

#5D8423 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.5% C 0.132 H 129.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5D8423
RGBrgb(93, 132, 35)
HSLhsl(84, 58%, 33%)
HSVhsv(84, 73%, 52%)
CMYKcmyk(29.5%, 0%, 73.5%, 48.2%)
CIE-LABlab(50.63, -29.13, 45.43)
CIE-LCHlch(50.63, 53.96, 122.67°)
OKLaboklab(56.45% -0.083 0.1021)
OKLCHoklch(56.45% 0.132 129.1)
XYZxyz(13.0688, 18.9507, 4.5591)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8423 #4A2384
analogous
#847B23 #5D8423 #2C8423
triadic
#5D8423 #235D84 #84235D
tetradic
#5D8423 #23847B #4A2384 #84232C
square
#5D8423 #23847B #4A2384 #84232C
split-complementary
#5D8423 #232C84 #7B2384
monochromatic
#192309 #3B5416 #5D8423 #7FB430 #9DD151

Accessibility & contrast

On white

4.38
#5D8423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5D8423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8423
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8423#FFFFFF#000000##000000
##5D84231.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#607E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d8423;
/* rgb */ color: rgb(93, 132, 35);
/* oklch */ color: oklch(56.5% 0.132 129.1);
Tailwind
colors: {
  custom: {
    50: '#8ea865',
    500: '#5d8423',
    950: '#000000',
  },
}
SCSS
$custom: #5d8423;
$custom-light: #8ea865;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8423",
  "rgb": {
    "r": 93,
    "g": 132,
    "b": 35
  },
  "hsl": {
    "h": 84.124,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56453,
    "c": 0.13154,
    "h": 129.1
  },
  "luminance": 0.18951
}

Semantic roles & 50–950 ramp

primary
#5D8423
secondary
#774EB4
accent
#46E185
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5D8423

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

Preview Lab → · Contrast checker → · Palette generator →

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