#5F8929#5F8929

#5F8929 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.9% C 0.133 H 130.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5F8929
RGBrgb(95, 137, 41)
HSLhsl(86, 54%, 35%)
HSVhsv(86, 70%, 54%)
CMYKcmyk(30.7%, 0%, 70.1%, 46.3%)
CIE-LABlab(52.38, -30.27, 44.83)
CIE-LCHlch(52.38, 54.09, 124.03°)
OKLaboklab(57.92% -0.0857 0.1017)
OKLCHoklch(57.92% 0.133 130.1)
XYZxyz(14.0651, 20.4839, 5.3101)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8929 #532989
analogous
#898329 #5F8929 #2F8929
triadic
#5F8929 #295F89 #89295F
tetradic
#5F8929 #298983 #532989 #89292F
square
#5F8929 #298983 #532989 #89292F
split-complementary
#5F8929 #292F89 #832989
monochromatic
#1E2B0D #3E5A1B #5F8929 #80B837 #9DCF5E

Accessibility & contrast

On white

4.12
#5F8929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5F8929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8929
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8929#FFFFFF#000000##000000
##5F89291.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1B
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#618376
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f8929;
/* rgb */ color: rgb(95, 137, 41);
/* oklch */ color: oklch(57.9% 0.133 130.1);
Tailwind
colors: {
  custom: {
    50: '#90ab68',
    500: '#5f8929',
    950: '#000000',
  },
}
SCSS
$custom: #5f8929;
$custom-light: #90ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8929",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 41
  },
  "hsl": {
    "h": 86.25,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57923,
    "c": 0.13299,
    "h": 130.1
  },
  "luminance": 0.20484
}

Semantic roles & 50–950 ramp

primary
#5F8929
secondary
#815AB4
accent
#4ADD8B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8929

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

Preview Lab → · Contrast checker → · Palette generator →

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