#5F720F#5F720F

#5F720F is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 51.8% C 0.118 H 120.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5F720F
RGBrgb(95, 114, 15)
HSLhsl(72, 77%, 25%)
HSVhsv(72, 87%, 45%)
CMYKcmyk(16.7%, 0%, 86.8%, 55.3%)
CIE-LABlab(44.94, -20.34, 46.89)
CIE-LCHlch(44.94, 51.12, 113.45°)
OKLaboklab(51.85% -0.0607 0.1017)
OKLCHoklch(51.85% 0.118 120.8)
XYZxyz(10.8231, 14.5020, 2.6808)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F720F #220F72
analogous
#72530F #5F720F #2E720F
triadic
#5F720F #0F5F72 #720F5F
tetradic
#5F720F #0F7253 #220F72 #720F2E
square
#5F720F #0F7253 #220F72 #720F2E
split-complementary
#5F720F #0F2E72 #530F72
monochromatic
#171B04 #323C08 #5F720F #8CA816 #B9DE1D

Accessibility & contrast

On white

5.38
#5F720F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5F720F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F720F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F720F#FFFFFF#000000##FFFFFF
##5F720F1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#776A1A
Tritanopia (blue-blind)
#656B61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f720f;
/* rgb */ color: rgb(95, 114, 15);
/* oklch */ color: oklch(51.8% 0.118 120.8);
Tailwind
colors: {
  custom: {
    50: '#909a59',
    500: '#5f720f',
    950: '#000000',
  },
}
SCSS
$custom: #5f720f;
$custom-light: #909a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f720f",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 15
  },
  "hsl": {
    "h": 71.515,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51847,
    "c": 0.1184,
    "h": 120.8
  },
  "luminance": 0.14502
}

Semantic roles & 50–950 ramp

primary
#5F720F
secondary
#4A33AA
accent
#35F359
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F720F

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

Preview Lab → · Contrast checker → · Palette generator →

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