#5F7519#5F7519

#5F7519 is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.7% C 0.117 H 122.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5F7519
RGBrgb(95, 117, 25)
HSLhsl(74, 65%, 28%)
HSVhsv(74, 79%, 46%)
CMYKcmyk(18.8%, 0%, 78.6%, 54.1%)
CIE-LABlab(45.94, -21.45, 44.66)
CIE-LCHlch(45.94, 49.54, 115.66°)
OKLaboklab(52.67% -0.063 0.0987)
OKLCHoklch(52.67% 0.117 122.5)
XYZxyz(11.2562, 15.2256, 3.2653)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7519 #2F1975
analogous
#755D19 #5F7519 #317519
triadic
#5F7519 #195F75 #75195F
tetradic
#5F7519 #19755D #2F1975 #751931
square
#5F7519 #19755D #2F1975 #751931
split-complementary
#5F7519 #193175 #5D1975
monochromatic
#141905 #36430E #5F7519 #88A724 #AED435

Accessibility & contrast

On white

5.19
#5F7519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5F7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7519
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7519#FFFFFF#000000##FFFFFF
##5F75191.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D04
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#646F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f7519;
/* rgb */ color: rgb(95, 117, 25);
/* oklch */ color: oklch(52.7% 0.117 122.5);
Tailwind
colors: {
  custom: {
    50: '#8f9c5e',
    500: '#5f7519',
    950: '#000000',
  },
}
SCSS
$custom: #5f7519;
$custom-light: #8f9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7519",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 74.348,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.11709,
    "h": 122.5
  },
  "luminance": 0.15226
}

Semantic roles & 50–950 ramp

primary
#5F7519
secondary
#5940AA
accent
#40E868
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F7519

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

Preview Lab → · Contrast checker → · Palette generator →

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