#5F7320#5F7320

#5F7320 is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.2% C 0.110 H 122.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5F7320
RGBrgb(95, 115, 32)
HSLhsl(74, 56%, 29%)
HSVhsv(74, 72%, 45%)
CMYKcmyk(17.4%, 0%, 72.2%, 54.9%)
CIE-LABlab(45.36, -19.99, 41.38)
CIE-LCHlch(45.36, 45.95, 115.79°)
OKLaboklab(52.21% -0.0583 0.093)
OKLCHoklch(52.21% 0.11 122.1)
XYZxyz(11.1109, 14.7986, 3.6373)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7320 #342073
analogous
#735E20 #5F7320 #367320
triadic
#5F7320 #205F73 #73205F
tetradic
#5F7320 #20735E #342073 #732036
square
#5F7320 #20735E #342073 #732036
split-complementary
#5F7320 #203673 #5E2073
monochromatic
#141807 #374313 #5F7320 #87A32D #AACB43

Accessibility & contrast

On white

5.30
#5F7320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5F7320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7320
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7320#FFFFFF#000000##FFFFFF
##5F73201.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C13
Deuteranopia (green-blind)
#786B27
Tritanopia (blue-blind)
#646D63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f7320;
/* rgb */ color: rgb(95, 115, 32);
/* oklch */ color: oklch(52.2% 0.110 122.1);
Tailwind
colors: {
  custom: {
    50: '#8f9b61',
    500: '#5f7320',
    950: '#000000',
  },
}
SCSS
$custom: #5f7320;
$custom-light: #8f9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7320",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 74.458,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52211,
    "c": 0.1098,
    "h": 122.1
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

primary
#5F7320
secondary
#5F48A7
accent
#48E06D
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F7320

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

Preview Lab → · Contrast checker → · Palette generator →

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