#5D8F23#5D8F23

#5D8F23 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.146 H 131.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5D8F23
RGBrgb(93, 143, 35)
HSLhsl(88, 61%, 35%)
HSVhsv(88, 76%, 56%)
CMYKcmyk(35%, 0%, 75.5%, 43.9%)
CIE-LABlab(54.13, -34.24, 48.89)
CIE-LCHlch(54.13, 59.69, 125.01°)
OKLaboklab(59.3% -0.0969 0.1093)
OKLCHoklch(59.3% 0.146 131.5)
XYZxyz(14.6399, 22.0929, 5.0828)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8F23 #55238F
analogous
#8F8B23 #5D8F23 #278F23
triadic
#5D8F23 #235D8F #8F235D
tetradic
#5D8F23 #238F8B #55238F #8F2327
square
#5D8F23 #238F8B #55238F #8F2327
split-complementary
#5D8F23 #23278F #8B238F
monochromatic
#1D2D0B #3D5E17 #5D8F23 #7DC02F #9BD657

Accessibility & contrast

On white

3.88
#5D8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5D8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8F23
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8F23#FFFFFF#000000##000000
##5D8F231.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840D
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#5F897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d8f23;
/* rgb */ color: rgb(93, 143, 35);
/* oklch */ color: oklch(59.3% 0.146 131.5);
Tailwind
colors: {
  custom: {
    50: '#8fb066',
    500: '#5d8f23',
    950: '#000000',
  },
}
SCSS
$custom: #5d8f23;
$custom-light: #8fb066;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8f23",
  "rgb": {
    "r": 93,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 87.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.593,
    "c": 0.14607,
    "h": 131.5
  },
  "luminance": 0.22093
}

Semantic roles & 50–950 ramp

primary
#5D8F23
secondary
#8354BA
accent
#44E48E
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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