#5F8A29#5F8A29

#5F8A29 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.2% C 0.134 H 130.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5F8A29
RGBrgb(95, 138, 41)
HSLhsl(87, 54%, 35%)
HSVhsv(87, 70%, 54%)
CMYKcmyk(31.2%, 0%, 70.3%, 45.9%)
CIE-LABlab(52.70, -30.75, 45.15)
CIE-LCHlch(52.70, 54.63, 124.25°)
OKLaboklab(58.18% -0.087 0.1024)
OKLCHoklch(58.18% 0.134 130.4)
XYZxyz(14.2079, 20.7695, 5.3577)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8A29 #54298A
analogous
#8A8429 #5F8A29 #2E8A29
triadic
#5F8A29 #295F8A #8A295F
tetradic
#5F8A29 #298A84 #54298A #8A292E
square
#5F8A29 #298A84 #54298A #8A292E
split-complementary
#5F8A29 #292E8A #84298A
monochromatic
#1E2C0D #3F5B1B #5F8A29 #7FB937 #9DCF5E

Accessibility & contrast

On white

4.07
#5F8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5F8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8A29
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8A29#FFFFFF#000000##000000
##5F8A291.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801B
Deuteranopia (green-blind)
#8A7D31
Tritanopia (blue-blind)
#618477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f8a29;
/* rgb */ color: rgb(95, 138, 41);
/* oklch */ color: oklch(58.2% 0.134 130.4);
Tailwind
colors: {
  custom: {
    50: '#90ac69',
    500: '#5f8a29',
    950: '#000000',
  },
}
SCSS
$custom: #5f8a29;
$custom-light: #90ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8a29",
  "rgb": {
    "r": 95,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 86.598,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5818,
    "c": 0.13435,
    "h": 130.4
  },
  "luminance": 0.2077
}

Semantic roles & 50–950 ramp

primary
#5F8A29
secondary
#825AB5
accent
#4ADE8C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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