#5F9627#5F9627

#5F9627 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.3% C 0.152 H 132.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5F9627
RGBrgb(95, 150, 39)
HSLhsl(90, 59%, 37%)
HSVhsv(90, 74%, 59%)
CMYKcmyk(36.7%, 0%, 74%, 41.2%)
CIE-LABlab(56.48, -36.37, 49.78)
CIE-LCHlch(56.48, 61.65, 126.16°)
OKLaboklab(61.26% -0.1025 0.1118)
OKLCHoklch(61.26% 0.152 132.5)
XYZxyz(15.9917, 24.3914, 5.7845)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9627 #5E2796
analogous
#969627 #5F9627 #279627
triadic
#5F9627 #275F96 #96275F
tetradic
#5F9627 #279696 #5E2796 #962727
square
#5F9627 #279696 #5E2796 #962727
split-complementary
#5F9627 #272796 #962796
monochromatic
#21350E #40651A #5F9627 #7EC734 #9CD661

Accessibility & contrast

On white

3.57
#5F9627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5F9627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9627
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9627#FFFFFF#000000##000000
##5F96271.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A12
Deuteranopia (green-blind)
#958632
Tritanopia (blue-blind)
#609080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f9627;
/* rgb */ color: rgb(95, 150, 39);
/* oklch */ color: oklch(61.3% 0.152 132.5);
Tailwind
colors: {
  custom: {
    50: '#91b569',
    500: '#5f9627',
    950: '#000000',
  },
}
SCSS
$custom: #5f9627;
$custom-light: #91b569;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9627",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 39
  },
  "hsl": {
    "h": 89.73,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61257,
    "c": 0.15163,
    "h": 132.5
  },
  "luminance": 0.24392
}

Semantic roles & 50–950 ramp

primary
#5F9627
secondary
#8C5DBC
accent
#46E293
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9627

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

Preview Lab → · Contrast checker → · Palette generator →

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