#5F9129#5F9129

#5F9129 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.0% C 0.144 H 131.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5F9129
RGBrgb(95, 145, 41)
HSLhsl(89, 56%, 36%)
HSVhsv(89, 72%, 57%)
CMYKcmyk(34.5%, 0%, 71.7%, 43.1%)
CIE-LABlab(54.91, -33.99, 47.43)
CIE-LCHlch(54.91, 58.35, 125.62°)
OKLaboklab(59.98% -0.0958 0.1071)
OKLCHoklch(59.98% 0.144 131.8)
XYZxyz(15.2448, 22.8432, 5.7033)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9129 #5B2991
analogous
#918F29 #5F9129 #2B9129
triadic
#5F9129 #295F91 #91295F
tetradic
#5F9129 #29918F #5B2991 #91292B
square
#5F9129 #29918F #5B2991 #91292B
split-complementary
#5F9129 #292B91 #8F2991
monochromatic
#20320E #40611C #5F9129 #7EC136 #9CD362

Accessibility & contrast

On white

3.77
#5F9129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5F9129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9129
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9129#FFFFFF#000000##000000
##5F91291.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978618
Deuteranopia (green-blind)
#908232
Tritanopia (blue-blind)
#608B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f9129;
/* rgb */ color: rgb(95, 145, 41);
/* oklch */ color: oklch(60.0% 0.144 131.8);
Tailwind
colors: {
  custom: {
    50: '#90b169',
    500: '#5f9129',
    950: '#000000',
  },
}
SCSS
$custom: #5f9129;
$custom-light: #90b169;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9129",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 41
  },
  "hsl": {
    "h": 88.846,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59983,
    "c": 0.14374,
    "h": 131.8
  },
  "luminance": 0.22844
}

Semantic roles & 50–950 ramp

primary
#5F9129
secondary
#895DB8
accent
#49DF91
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9129

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

Preview Lab → · Contrast checker → · Palette generator →

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