#5F7419#5F7419

#5F7419 is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.4% C 0.116 H 122.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5F7419
RGBrgb(95, 116, 25)
HSLhsl(74, 65%, 28%)
HSVhsv(74, 78%, 45%)
CMYKcmyk(18.1%, 0%, 78.4%, 54.5%)
CIE-LABlab(45.63, -20.93, 44.36)
CIE-LCHlch(45.63, 49.05, 115.26°)
OKLaboklab(52.41% -0.0615 0.0981)
OKLCHoklch(52.41% 0.116 122.1)
XYZxyz(11.1403, 14.9938, 3.2267)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7419 #2E1974
analogous
#745B19 #5F7419 #327419
triadic
#5F7419 #195F74 #74195F
tetradic
#5F7419 #19745B #2E1974 #741932
square
#5F7419 #19745B #2E1974 #741932
split-complementary
#5F7419 #193274 #5B1974
monochromatic
#151905 #36420E #5F7419 #88A624 #AFD334

Accessibility & contrast

On white

5.25
#5F7419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5F7419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7419
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7419#FFFFFF#000000##FFFFFF
##5F74191.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C05
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#646E63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f7419;
/* rgb */ color: rgb(95, 116, 25);
/* oklch */ color: oklch(52.4% 0.116 122.1);
Tailwind
colors: {
  custom: {
    50: '#8f9c5e',
    500: '#5f7419',
    950: '#000000',
  },
}
SCSS
$custom: #5f7419;
$custom-light: #8f9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7419",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 25
  },
  "hsl": {
    "h": 73.846,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52413,
    "c": 0.1158,
    "h": 122.1
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#5F7419
secondary
#5840A9
accent
#40E867
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F7419

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

Preview Lab → · Contrast checker → · Palette generator →

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