#5F7119#5F7119

#5F7119 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.6% C 0.112 H 120.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5F7119
RGBrgb(95, 113, 25)
HSLhsl(72, 64%, 27%)
HSVhsv(72, 78%, 44%)
CMYKcmyk(15.9%, 0%, 77.9%, 55.7%)
CIE-LABlab(44.68, -19.37, 43.46)
CIE-LCHlch(44.68, 47.58, 114.02°)
OKLaboklab(51.65% -0.0572 0.0962)
OKLCHoklch(51.65% 0.112 120.8)
XYZxyz(10.8001, 14.3134, 3.1133)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7119 #2B1971
analogous
#715719 #5F7119 #337119
triadic
#5F7119 #195F71 #71195F
tetradic
#5F7119 #197157 #2B1971 #711933
square
#5F7119 #197157 #2B1971 #711933
split-complementary
#5F7119 #193371 #571971
monochromatic
#151906 #353F0E #5F7119 #89A324 #B1D233

Accessibility & contrast

On white

5.44
#5F7119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5F7119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7119
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7119#FFFFFF#000000##FFFFFF
##5F71191.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A06
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#656B60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f7119;
/* rgb */ color: rgb(95, 113, 25);
/* oklch */ color: oklch(51.6% 0.112 120.8);
Tailwind
colors: {
  custom: {
    50: '#8f995d',
    500: '#5f7119',
    950: '#000000',
  },
}
SCSS
$custom: #5f7119;
$custom-light: #8f995d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7119",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 72.273,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51649,
    "c": 0.11194,
    "h": 120.8
  },
  "luminance": 0.14313
}

Semantic roles & 50–950 ramp

primary
#5F7119
secondary
#5540A6
accent
#41E763
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F7119

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

Preview Lab → · Contrast checker → · Palette generator →

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