#5F7920#5F7920

#5F7920 is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.7% C 0.118 H 124.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5F7920
RGBrgb(95, 121, 32)
HSLhsl(78, 58%, 30%)
HSVhsv(78, 74%, 47%)
CMYKcmyk(21.5%, 0%, 73.6%, 52.5%)
CIE-LABlab(47.25, -23.08, 43.28)
CIE-LCHlch(47.25, 49.05, 118.07°)
OKLaboklab(53.74% -0.0668 0.097)
OKLCHoklch(53.74% 0.118 124.5)
XYZxyz(11.8175, 16.2118, 3.8728)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7920 #3A2079
analogous
#796620 #5F7920 #337920
triadic
#5F7920 #205F79 #79205F
tetradic
#5F7920 #207966 #3A2079 #792033
square
#5F7920 #207966 #3A2079 #792033
split-complementary
#5F7920 #203379 #662079
monochromatic
#131806 #394913 #5F7920 #85A92D #A6CE45

Accessibility & contrast

On white

4.95
#5F7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5F7920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7920
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7920#FFFFFF#000000##FFFFFF
##5F79201.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807111
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#647368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f7920;
/* rgb */ color: rgb(95, 121, 32);
/* oklch */ color: oklch(53.7% 0.118 124.5);
Tailwind
colors: {
  custom: {
    50: '#8f9f62',
    500: '#5f7920',
    950: '#000000',
  },
}
SCSS
$custom: #5f7920;
$custom-light: #8f9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7920",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 77.528,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.11781,
    "h": 124.5
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#5F7920
secondary
#6649AC
accent
#46E174
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #5F7920

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

Preview Lab → · Contrast checker → · Palette generator →

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