#5F7929#5F7929

#5F7929 is a mid, moderate yellow-green. Relative luminance 0.163; OKLCH L 53.8% C 0.111 H 125.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5F7929
RGBrgb(95, 121, 41)
HSLhsl(80, 49%, 32%)
HSVhsv(80, 66%, 47%)
CMYKcmyk(21.5%, 0%, 66.1%, 52.5%)
CIE-LABlab(47.32, -22.41, 39.48)
CIE-LCHlch(47.32, 45.40, 119.58°)
OKLaboklab(53.82% -0.0641 0.0905)
OKLCHoklch(53.82% 0.111 125.3)
XYZxyz(11.9570, 16.2676, 4.6074)
Luminance0.1627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7929 #432979
analogous
#796B29 #5F7929 #377929
triadic
#5F7929 #295F79 #79295F
tetradic
#5F7929 #29796B #432979 #792937
square
#5F7929 #29796B #432979 #792937
split-complementary
#5F7929 #293779 #6B2979
monochromatic
#171E0A #3B4B1A #5F7929 #83A738 #A2C656

Accessibility & contrast

On white

4.94
#5F7929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5F7929 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7929
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7929#FFFFFF#000000##FFFFFF
##5F79291.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711F
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#637368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f7929;
/* rgb */ color: rgb(95, 121, 41);
/* oklch */ color: oklch(53.8% 0.111 125.3);
Tailwind
colors: {
  custom: {
    50: '#8f9f67',
    500: '#5f7929',
    950: '#000000',
  },
}
SCSS
$custom: #5f7929;
$custom-light: #8f9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7929",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 79.5,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53823,
    "c": 0.11085,
    "h": 125.3
  },
  "luminance": 0.16268
}

Semantic roles & 50–950 ramp

primary
#5F7929
secondary
#7053AB
accent
#4FD97C
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0E06
muted
#7D7E7A

Preview Lab

Preview with #5F7929

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

Preview Lab → · Contrast checker → · Palette generator →

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