#5F9023#5F9023

#5F9023 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.7% C 0.146 H 131.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5F9023
RGBrgb(95, 144, 35)
HSLhsl(87, 61%, 35%)
HSVhsv(87, 76%, 56%)
CMYKcmyk(34%, 0%, 75.7%, 43.5%)
CIE-LABlab(54.55, -33.93, 49.35)
CIE-LCHlch(54.55, 59.89, 124.51°)
OKLaboklab(59.68% -0.0962 0.1103)
OKLCHoklch(59.68% 0.146 131.1)
XYZxyz(14.9958, 22.5002, 5.1427)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9023 #542390
analogous
#908A23 #5F9023 #299023
triadic
#5F9023 #235F90 #90235F
tetradic
#5F9023 #23908A #542390 #902329
square
#5F9023 #23908A #542390 #902329
split-complementary
#5F9023 #232990 #8A2390
monochromatic
#1E2E0B #3F5F17 #5F9023 #7FC12F #9DD657

Accessibility & contrast

On white

3.82
#5F9023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5F9023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9023
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9023#FFFFFF#000000##000000
##5F90231.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850C
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#618A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f9023;
/* rgb */ color: rgb(95, 144, 35);
/* oklch */ color: oklch(59.7% 0.146 131.1);
Tailwind
colors: {
  custom: {
    50: '#91b166',
    500: '#5f9023',
    950: '#000000',
  },
}
SCSS
$custom: #5f9023;
$custom-light: #91b166;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9023",
  "rgb": {
    "r": 95,
    "g": 144,
    "b": 35
  },
  "hsl": {
    "h": 86.972,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59679,
    "c": 0.14629,
    "h": 131.1
  },
  "luminance": 0.22501
}

Semantic roles & 50–950 ramp

primary
#5F9023
secondary
#8254BA
accent
#44E48C
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F9023

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

Preview Lab → · Contrast checker → · Palette generator →

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