#5F701B#5F701B

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

Color values

HEX#5F701B
RGBrgb(95, 112, 27)
HSLhsl(72, 61%, 27%)
HSVhsv(72, 76%, 44%)
CMYKcmyk(15.2%, 0%, 75.9%, 56.1%)
CIE-LABlab(44.38, -18.73, 42.42)
CIE-LCHlch(44.38, 46.37, 113.83°)
OKLaboklab(51.41% -0.0553 0.0944)
OKLCHoklch(51.41% 0.109 120.4)
XYZxyz(10.7115, 14.1004, 3.1941)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F701B #2C1B70
analogous
#70571B #5F701B #35701B
triadic
#5F701B #1B5F70 #701B5F
tetradic
#5F701B #1B7057 #2C1B70 #701B35
square
#5F701B #1B7057 #2C1B70 #701B35
split-complementary
#5F701B #1B3570 #571B70
monochromatic
#151906 #353F0F #5F701B #89A127 #B0CF37

Accessibility & contrast

On white

5.50
#5F701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F701B
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F701B#FFFFFF#000000##FFFFFF
##5F701B1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f701b;
/* rgb */ color: rgb(95, 112, 27);
/* oklch */ color: oklch(51.4% 0.109 120.4);
Tailwind
colors: {
  custom: {
    50: '#8f995e',
    500: '#5f701b',
    950: '#000000',
  },
}
SCSS
$custom: #5f701b;
$custom-light: #8f995e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f701b",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 72,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51409,
    "c": 0.10936,
    "h": 120.4
  },
  "luminance": 0.141
}

Semantic roles & 50–950 ramp

primary
#5F701B
secondary
#5642A5
accent
#44E464
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #5F701B

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

Preview Lab → · Contrast checker → · Palette generator →

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