#5F7220#5F7220

#5F7220 is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 52.0% C 0.108 H 121.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5F7220
RGBrgb(95, 114, 32)
HSLhsl(74, 56%, 29%)
HSVhsv(74, 72%, 45%)
CMYKcmyk(16.7%, 0%, 71.9%, 55.3%)
CIE-LABlab(45.04, -19.47, 41.06)
CIE-LCHlch(45.04, 45.44, 115.37°)
OKLaboklab(51.96% -0.0568 0.0924)
OKLCHoklch(51.96% 0.108 121.6)
XYZxyz(10.9975, 14.5718, 3.5995)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7220 #332072
analogous
#725C20 #5F7220 #367220
triadic
#5F7220 #205F72 #72205F
tetradic
#5F7220 #20725C #332072 #722036
square
#5F7220 #20725C #332072 #722036
split-complementary
#5F7220 #203672 #5C2072
monochromatic
#141807 #374213 #5F7220 #87A22D #ABCA42

Accessibility & contrast

On white

5.36
#5F7220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5F7220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7220
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7220#FFFFFF#000000##FFFFFF
##5F72201.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B13
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#646C62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f7220;
/* rgb */ color: rgb(95, 114, 32);
/* oklch */ color: oklch(52.0% 0.108 121.6);
Tailwind
colors: {
  custom: {
    50: '#8f9a61',
    500: '#5f7220',
    950: '#000000',
  },
}
SCSS
$custom: #5f7220;
$custom-light: #8f9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7220",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 73.902,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.10846,
    "h": 121.6
  },
  "luminance": 0.14572
}

Semantic roles & 50–950 ramp

primary
#5F7220
secondary
#5E48A6
accent
#48DF6B
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F7220

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

Preview Lab → · Contrast checker → · Palette generator →

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