#5F7429#5F7429

#5F7429 is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.6% C 0.104 H 123.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5F7429
RGBrgb(95, 116, 41)
HSLhsl(77, 48%, 31%)
HSVhsv(77, 65%, 45%)
CMYKcmyk(18.1%, 0%, 64.7%, 54.5%)
CIE-LABlab(45.75, -19.83, 37.78)
CIE-LCHlch(45.75, 42.67, 117.69°)
OKLaboklab(52.55% -0.0569 0.0868)
OKLCHoklch(52.55% 0.104 123.2)
XYZxyz(11.3650, 15.0837, 4.4101)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7429 #3E2974
analogous
#746329 #5F7429 #397429
triadic
#5F7429 #295F74 #74295F
tetradic
#5F7429 #297463 #3E2974 #742939
square
#5F7429 #297463 #3E2974 #742939
split-complementary
#5F7429 #293974 #632974
monochromatic
#151A09 #3A4719 #5F7429 #84A139 #A4C355

Accessibility & contrast

On white

5.23
#5F7429 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5F7429 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7429
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7429#FFFFFF#000000##FFFFFF
##5F74291.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D20
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#646E64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f7429;
/* rgb */ color: rgb(95, 116, 41);
/* oklch */ color: oklch(52.6% 0.104 123.2);
Tailwind
colors: {
  custom: {
    50: '#8e9c66',
    500: '#5f7429',
    950: '#000000',
  },
}
SCSS
$custom: #5f7429;
$custom-light: #8e9c66;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7429",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 41
  },
  "hsl": {
    "h": 76.8,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.10384,
    "h": 123.2
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#5F7429
secondary
#6A53A6
accent
#50D776
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0E06
muted
#7D7E7A

Preview Lab

Preview with #5F7429

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

Preview Lab → · Contrast checker → · Palette generator →

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