#5D8623#5D8623

#5D8623 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.134 H 129.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5D8623
RGBrgb(93, 134, 35)
HSLhsl(85, 59%, 33%)
HSVhsv(85, 74%, 53%)
CMYKcmyk(30.6%, 0%, 73.9%, 47.5%)
CIE-LABlab(51.27, -30.08, 46.06)
CIE-LCHlch(51.27, 55.01, 123.14°)
OKLaboklab(56.97% -0.0855 0.1034)
OKLCHoklch(56.97% 0.134 129.6)
XYZxyz(13.3426, 19.4983, 4.6504)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8623 #4C2386
analogous
#867D23 #5D8623 #2C8623
triadic
#5D8623 #235D86 #86235D
tetradic
#5D8623 #23867D #4C2386 #86232C
square
#5D8623 #23867D #4C2386 #86232C
split-complementary
#5D8623 #232C86 #7D2386
monochromatic
#1A250A #3B5516 #5D8623 #7FB730 #9DD252

Accessibility & contrast

On white

4.29
#5D8623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5D8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8623
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8623#FFFFFF#000000##000000
##5D86231.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C11
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#608073
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d8623;
/* rgb */ color: rgb(93, 134, 35);
/* oklch */ color: oklch(57.0% 0.134 129.6);
Tailwind
colors: {
  custom: {
    50: '#8ea965',
    500: '#5d8623',
    950: '#000000',
  },
}
SCSS
$custom: #5d8623;
$custom-light: #8ea965;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8623",
  "rgb": {
    "r": 93,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 84.848,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5697,
    "c": 0.13421,
    "h": 129.6
  },
  "luminance": 0.19499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D8623

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

Preview Lab → · Contrast checker → · Palette generator →

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