#5F701D#5F701D

#5F701D is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.4% C 0.108 H 120.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5F701D
RGBrgb(95, 112, 29)
HSLhsl(72, 59%, 28%)
HSVhsv(72, 74%, 44%)
CMYKcmyk(15.2%, 0%, 74.1%, 56.1%)
CIE-LABlab(44.39, -18.61, 41.64)
CIE-LCHlch(44.39, 45.61, 114.08°)
OKLaboklab(51.42% -0.0548 0.0931)
OKLCHoklch(51.42% 0.108 120.5)
XYZxyz(10.7354, 14.1100, 3.3201)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F701D #2E1D70
analogous
#70571D #5F701D #36701D
triadic
#5F701D #1D5F70 #701D5F
tetradic
#5F701D #1D7057 #2E1D70 #701D36
square
#5F701D #1D7057 #2E1D70 #701D36
split-complementary
#5F701D #1D3670 #571D70
monochromatic
#151806 #363F10 #5F701D #88A12A #AFCC3B

Accessibility & contrast

On white

5.49
#5F701D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5F701D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F701D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F701D#FFFFFF#000000##FFFFFF
##5F701D1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690F
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#656A60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f701d;
/* rgb */ color: rgb(95, 112, 29);
/* oklch */ color: oklch(51.4% 0.108 120.5);
Tailwind
colors: {
  custom: {
    50: '#8f995f',
    500: '#5f701d',
    950: '#000000',
  },
}
SCSS
$custom: #5f701d;
$custom-light: #8f995f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f701d",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 72.289,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.108,
    "h": 120.5
  },
  "luminance": 0.1411
}

Semantic roles & 50–950 ramp

primary
#5F701D
secondary
#5844A4
accent
#46E266
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #5F701D

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

Preview Lab → · Contrast checker → · Palette generator →

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