#5F8029#5F8029

#5F8029 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.6% C 0.121 H 127.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5F8029
RGBrgb(95, 128, 41)
HSLhsl(83, 51%, 33%)
HSVhsv(83, 68%, 50%)
CMYKcmyk(25.8%, 0%, 68%, 49.8%)
CIE-LABlab(49.53, -25.93, 41.84)
CIE-LCHlch(49.53, 49.23, 121.78°)
OKLaboklab(55.61% -0.0738 0.0954)
OKLCHoklch(55.61% 0.121 127.7)
XYZxyz(12.8387, 18.0311, 4.9013)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8029 #4A2980
analogous
#807529 #5F8029 #338029
triadic
#5F8029 #295F80 #80295F
tetradic
#5F8029 #298075 #4A2980 #802933
square
#5F8029 #298075 #4A2980 #802933
split-complementary
#5F8029 #293380 #752980
monochromatic
#1A230B #3D521A #5F8029 #81AE38 #9FCA59

Accessibility & contrast

On white

4.56
#5F8029 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5F8029 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8029
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8029#FFFFFF#000000##000000
##5F80291.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771D
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#627A6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f8029;
/* rgb */ color: rgb(95, 128, 41);
/* oklch */ color: oklch(55.6% 0.121 127.7);
Tailwind
colors: {
  custom: {
    50: '#8fa567',
    500: '#5f8029',
    950: '#000000',
  },
}
SCSS
$custom: #5f8029;
$custom-light: #8fa567;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8029",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 41
  },
  "hsl": {
    "h": 82.759,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55612,
    "c": 0.12062,
    "h": 127.7
  },
  "luminance": 0.18031
}

Semantic roles & 50–950 ramp

primary
#5F8029
secondary
#7855AF
accent
#4DDB83
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5F8029

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

Preview Lab → · Contrast checker → · Palette generator →

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