#5F7D29#5F7D29

#5F7D29 is a mid, moderate yellow-green. Relative luminance 0.173; OKLCH L 54.8% C 0.116 H 126.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5F7D29
RGBrgb(95, 125, 41)
HSLhsl(81, 51%, 33%)
HSVhsv(81, 67%, 49%)
CMYKcmyk(24%, 0%, 67.2%, 51%)
CIE-LABlab(48.59, -24.44, 40.84)
CIE-LCHlch(48.59, 47.59, 120.90°)
OKLaboklab(54.84% -0.0697 0.0933)
OKLCHoklch(54.84% 0.116 126.8)
XYZxyz(12.4532, 17.2600, 4.7728)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7D29 #47297D
analogous
#7D7129 #5F7D29 #357D29
triadic
#5F7D29 #295F7D #7D295F
tetradic
#5F7D29 #297D71 #47297D #7D2935
square
#5F7D29 #297D71 #47297D #7D2935
split-complementary
#5F7D29 #29357D #71297D
monochromatic
#19210B #3C4F1A #5F7D29 #82AB38 #A0C858

Accessibility & contrast

On white

4.72
#5F7D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5F7D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7D29
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7D29#FFFFFF#000000##FFFFFF
##5F7D291.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83751E
Deuteranopia (green-blind)
#7F732F
Tritanopia (blue-blind)
#63776C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f7d29;
/* rgb */ color: rgb(95, 125, 41);
/* oklch */ color: oklch(54.8% 0.116 126.8);
Tailwind
colors: {
  custom: {
    50: '#8fa267',
    500: '#5f7d29',
    950: '#000000',
  },
}
SCSS
$custom: #5f7d29;
$custom-light: #8fa267;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7d29",
  "rgb": {
    "r": 95,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 81.429,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54844,
    "c": 0.11645,
    "h": 126.8
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#5F7D29
secondary
#7454AE
accent
#4EDA80
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5F7D29

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

Preview Lab → · Contrast checker → · Palette generator →

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