#5F701C#5F701C

#5F701C 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#5F701C
RGBrgb(95, 112, 28)
HSLhsl(72, 60%, 27%)
HSVhsv(72, 75%, 44%)
CMYKcmyk(15.2%, 0%, 75%, 56.1%)
CIE-LABlab(44.38, -18.67, 42.03)
CIE-LCHlch(44.38, 45.99, 113.95°)
OKLaboklab(51.42% -0.055 0.0937)
OKLCHoklch(51.42% 0.109 120.4)
XYZxyz(10.7233, 14.1051, 3.2560)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F701C #2D1C70
analogous
#70571C #5F701C #35701C
triadic
#5F701C #1C5F70 #701C5F
tetradic
#5F701C #1C7057 #2D1C70 #701C35
square
#5F701C #1C7057 #2D1C70 #701C35
split-complementary
#5F701C #1C3570 #571C70
monochromatic
#151806 #353F10 #5F701C #89A128 #AFCD39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F701C#FFFFFF#000000##FFFFFF
##5F701C1.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)
#77690D
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#656A60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f701c;
/* rgb */ color: rgb(95, 112, 28);
/* oklch */ color: oklch(51.4% 0.109 120.4);
Tailwind
colors: {
  custom: {
    50: '#8f995f',
    500: '#5f701c',
    950: '#000000',
  },
}
SCSS
$custom: #5f701c;
$custom-light: #8f995f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f701c",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 72.143,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51417,
    "c": 0.10869,
    "h": 120.4
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#5F701C
secondary
#5743A5
accent
#45E365
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #5F701C

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

Preview Lab → · Contrast checker → · Palette generator →

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