#5F9623#5F9623

#5F9623 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.2% C 0.154 H 132.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5F9623
RGBrgb(95, 150, 35)
HSLhsl(89, 62%, 36%)
HSVhsv(89, 77%, 59%)
CMYKcmyk(36.7%, 0%, 76.7%, 41.2%)
CIE-LABlab(56.45, -36.63, 51.19)
CIE-LCHlch(56.45, 62.95, 125.58°)
OKLaboklab(61.23% -0.1035 0.1141)
OKLCHoklch(61.23% 0.154 132.2)
XYZxyz(15.9288, 24.3663, 5.4537)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9623 #5A2396
analogous
#969423 #5F9623 #259623
triadic
#5F9623 #235F96 #96235F
tetradic
#5F9623 #239694 #5A2396 #962325
square
#5F9623 #239694 #5A2396 #962325
split-complementary
#5F9623 #232596 #942396
monochromatic
#20330C #406417 #5F9623 #7EC82F #9CD95B

Accessibility & contrast

On white

3.58
#5F9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5F9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9623
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9623#FFFFFF#000000##000000
##5F96231.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A08
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#609080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f9623;
/* rgb */ color: rgb(95, 150, 35);
/* oklch */ color: oklch(61.2% 0.154 132.2);
Tailwind
colors: {
  custom: {
    50: '#91b567',
    500: '#5f9623',
    950: '#000000',
  },
}
SCSS
$custom: #5f9623;
$custom-light: #91b567;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9623",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 88.696,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61229,
    "c": 0.15403,
    "h": 132.2
  },
  "luminance": 0.24367
}

Semantic roles & 50–950 ramp

primary
#5F9623
secondary
#8858BD
accent
#43E590
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9623

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

Preview Lab → · Contrast checker → · Palette generator →

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