#5F9423#5F9423

#5F9423 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 60.7% C 0.151 H 131.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5F9423
RGBrgb(95, 148, 35)
HSLhsl(88, 62%, 36%)
HSVhsv(88, 76%, 58%)
CMYKcmyk(35.8%, 0%, 76.4%, 42%)
CIE-LABlab(55.82, -35.74, 50.58)
CIE-LCHlch(55.82, 61.93, 125.24°)
OKLaboklab(60.71% -0.101 0.1128)
OKLCHoklch(60.71% 0.151 131.8)
XYZxyz(15.6124, 23.7334, 5.3482)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9423 #582394
analogous
#949023 #5F9423 #269423
triadic
#5F9423 #235F94 #94235F
tetradic
#5F9423 #239490 #582394 #942326
square
#5F9423 #239490 #582394 #942326
split-complementary
#5F9423 #232694 #902394
monochromatic
#1F310C #3F6317 #5F9423 #7FC52F #9DD85A

Accessibility & contrast

On white

3.65
#5F9423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5F9423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9423
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9423#FFFFFF#000000##000000
##5F94231.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B880A
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#608E7E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f9423;
/* rgb */ color: rgb(95, 148, 35);
/* oklch */ color: oklch(60.7% 0.151 131.8);
Tailwind
colors: {
  custom: {
    50: '#91b467',
    500: '#5f9423',
    950: '#000000',
  },
}
SCSS
$custom: #5f9423;
$custom-light: #91b467;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9423",
  "rgb": {
    "r": 95,
    "g": 148,
    "b": 35
  },
  "hsl": {
    "h": 88.142,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.15147,
    "h": 131.8
  },
  "luminance": 0.23734
}

Semantic roles & 50–950 ramp

primary
#5F9423
secondary
#8657BC
accent
#43E58F
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9423

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

Preview Lab → · Contrast checker → · Palette generator →

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