#5F9626#5F9626

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

Color values

HEX#5F9626
RGBrgb(95, 150, 38)
HSLhsl(89, 60%, 37%)
HSVhsv(89, 75%, 59%)
CMYKcmyk(36.7%, 0%, 74.7%, 41.2%)
CIE-LABlab(56.47, -36.44, 50.14)
CIE-LCHlch(56.47, 61.98, 126.01°)
OKLaboklab(61.25% -0.1027 0.1124)
OKLCHoklch(61.25% 0.152 132.4)
XYZxyz(15.9753, 24.3849, 5.6984)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9626 #5D2696
analogous
#969526 #5F9626 #279626
triadic
#5F9626 #265F96 #96265F
tetradic
#5F9626 #269695 #5D2696 #962627
square
#5F9626 #269695 #5D2696 #962627
split-complementary
#5F9626 #262796 #952696
monochromatic
#21340D #40651A #5F9626 #7EC732 #9CD760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9626#FFFFFF#000000##000000
##5F96261.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)
#9C8A10
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#609080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f9626;
/* rgb */ color: rgb(95, 150, 38);
/* oklch */ color: oklch(61.3% 0.152 132.4);
Tailwind
colors: {
  custom: {
    50: '#91b568',
    500: '#5f9626',
    950: '#000000',
  },
}
SCSS
$custom: #5f9626;
$custom-light: #91b568;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9626",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 89.464,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6125,
    "c": 0.15225,
    "h": 132.4
  },
  "luminance": 0.24386
}

Semantic roles & 50–950 ramp

primary
#5F9626
secondary
#8B5CBC
accent
#45E392
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9626

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

Preview Lab → · Contrast checker → · Palette generator →

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