#5F7420#5F7420

#5F7420 is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.5% C 0.111 H 122.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5F7420
RGBrgb(95, 116, 32)
HSLhsl(75, 57%, 29%)
HSVhsv(75, 72%, 45%)
CMYKcmyk(18.1%, 0%, 72.4%, 54.5%)
CIE-LABlab(45.67, -20.51, 41.69)
CIE-LCHlch(45.67, 46.47, 116.20°)
OKLaboklab(52.47% -0.0597 0.0937)
OKLCHoklch(52.47% 0.111 122.5)
XYZxyz(11.2256, 15.0279, 3.6755)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7420 #352074
analogous
#745F20 #5F7420 #357420
triadic
#5F7420 #205F74 #74205F
tetradic
#5F7420 #20745F #352074 #742035
square
#5F7420 #20745F #352074 #742035
split-complementary
#5F7420 #203574 #5F2074
monochromatic
#141807 #384413 #5F7420 #86A42D #A9CB43

Accessibility & contrast

On white

5.24
#5F7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5F7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7420
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7420#FFFFFF#000000##FFFFFF
##5F74201.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D13
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#646E63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f7420;
/* rgb */ color: rgb(95, 116, 32);
/* oklch */ color: oklch(52.5% 0.111 122.5);
Tailwind
colors: {
  custom: {
    50: '#8f9c61',
    500: '#5f7420',
    950: '#000000',
  },
}
SCSS
$custom: #5f7420;
$custom-light: #8f9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7420",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 75,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52465,
    "c": 0.11113,
    "h": 122.5
  },
  "luminance": 0.15028
}

Semantic roles & 50–950 ramp

primary
#5F7420
secondary
#6048A8
accent
#48E06E
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F7420

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

Preview Lab → · Contrast checker → · Palette generator →

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