#5D8E23#5D8E23

#5D8E23 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.0% C 0.145 H 131.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5D8E23
RGBrgb(93, 142, 35)
HSLhsl(87, 60%, 35%)
HSVhsv(87, 75%, 56%)
CMYKcmyk(34.5%, 0%, 75.4%, 44.3%)
CIE-LABlab(53.81, -33.79, 48.58)
CIE-LCHlch(53.81, 59.18, 124.82°)
OKLaboklab(59.04% -0.0956 0.1087)
OKLCHoklch(59.04% 0.145 131.3)
XYZxyz(14.4904, 21.7940, 5.0330)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8E23 #54238E
analogous
#8E8A23 #5D8E23 #278E23
triadic
#5D8E23 #235D8E #8E235D
tetradic
#5D8E23 #238E8A #54238E #8E2327
square
#5D8E23 #238E8A #54238E #8E2327
split-complementary
#5D8E23 #23278E #8A238E
monochromatic
#1D2C0B #3D5D17 #5D8E23 #7DBF2F #9BD556

Accessibility & contrast

On white

3.92
#5D8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5D8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8E23
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8E23#FFFFFF#000000##000000
##5D8E231.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830E
Deuteranopia (green-blind)
#8E7F2D
Tritanopia (blue-blind)
#5F8879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d8e23;
/* rgb */ color: rgb(93, 142, 35);
/* oklch */ color: oklch(59.0% 0.145 131.3);
Tailwind
colors: {
  custom: {
    50: '#8faf66',
    500: '#5d8e23',
    950: '#000000',
  },
}
SCSS
$custom: #5d8e23;
$custom-light: #8faf66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8e23",
  "rgb": {
    "r": 93,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 87.477,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59041,
    "c": 0.14477,
    "h": 131.3
  },
  "luminance": 0.21795
}

Semantic roles & 50–950 ramp

primary
#5D8E23
secondary
#8253B9
accent
#44E48D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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