#5F8E23#5F8E23

#5F8E23 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.2% C 0.144 H 130.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5F8E23
RGBrgb(95, 142, 35)
HSLhsl(86, 60%, 35%)
HSVhsv(86, 75%, 56%)
CMYKcmyk(33.1%, 0%, 75.4%, 44.3%)
CIE-LABlab(53.92, -33.02, 48.73)
CIE-LCHlch(53.92, 58.86, 124.12°)
OKLaboklab(59.16% -0.0937 0.109)
OKLCHoklch(59.16% 0.144 130.7)
XYZxyz(14.6956, 21.8997, 5.0426)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8E23 #52238E
analogous
#8E8823 #5F8E23 #2A8E23
triadic
#5F8E23 #235F8E #8E235F
tetradic
#5F8E23 #238E88 #52238E #8E232A
square
#5F8E23 #238E88 #52238E #8E232A
split-complementary
#5F8E23 #232A8E #88238E
monochromatic
#1D2C0B #3E5D17 #5F8E23 #80BF2F #9DD556

Accessibility & contrast

On white

3.90
#5F8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5F8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8E23
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8E23#FFFFFF#000000##000000
##5F8E231.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830E
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#618879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f8e23;
/* rgb */ color: rgb(95, 142, 35);
/* oklch */ color: oklch(59.2% 0.144 130.7);
Tailwind
colors: {
  custom: {
    50: '#90af66',
    500: '#5f8e23',
    950: '#000000',
  },
}
SCSS
$custom: #5f8e23;
$custom-light: #90af66;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8e23",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 86.355,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59163,
    "c": 0.14369,
    "h": 130.7
  },
  "luminance": 0.219
}

Semantic roles & 50–950 ramp

primary
#5F8E23
secondary
#8053B9
accent
#44E48A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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