#5F7719#5F7719

#5F7719 is a mid, moderate yellow-green. Relative luminance 0.157; OKLCH L 53.2% C 0.120 H 123.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5F7719
RGBrgb(95, 119, 25)
HSLhsl(75, 65%, 28%)
HSVhsv(75, 79%, 47%)
CMYKcmyk(20.2%, 0%, 79%, 53.3%)
CIE-LABlab(46.57, -22.48, 45.25)
CIE-LCHlch(46.57, 50.53, 116.41°)
OKLaboklab(53.18% -0.0658 0.1)
OKLCHoklch(53.18% 0.12 123.3)
XYZxyz(11.4918, 15.6967, 3.3439)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7719 #311977
analogous
#776019 #5F7719 #307719
triadic
#5F7719 #195F77 #77195F
tetradic
#5F7719 #197760 #311977 #771930
square
#5F7719 #197760 #311977 #771930
split-complementary
#5F7719 #193077 #601977
monochromatic
#141905 #37440E #5F7719 #87AA24 #ACD536

Accessibility & contrast

On white

5.07
#5F7719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5F7719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7719
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7719#FFFFFF#000000##FFFFFF
##5F77191.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F03
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#647165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f7719;
/* rgb */ color: rgb(95, 119, 25);
/* oklch */ color: oklch(53.2% 0.120 123.3);
Tailwind
colors: {
  custom: {
    50: '#8f9e5e',
    500: '#5f7719',
    950: '#000000',
  },
}
SCSS
$custom: #5f7719;
$custom-light: #8f9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7719",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 25
  },
  "hsl": {
    "h": 75.319,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53179,
    "c": 0.11966,
    "h": 123.3
  },
  "luminance": 0.15697
}

Semantic roles & 50–950 ramp

primary
#5F7719
secondary
#5C40AC
accent
#40E86B
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F7719

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

Preview Lab → · Contrast checker → · Palette generator →

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