#5F7019#5F7019

#5F7019 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.4% C 0.111 H 120.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5F7019
RGBrgb(95, 112, 25)
HSLhsl(72, 64%, 27%)
HSVhsv(72, 78%, 44%)
CMYKcmyk(15.2%, 0%, 77.7%, 56.1%)
CIE-LABlab(44.36, -18.84, 43.16)
CIE-LCHlch(44.36, 47.10, 113.59°)
OKLaboklab(51.4% -0.0558 0.0956)
OKLCHoklch(51.4% 0.111 120.3)
XYZxyz(10.6892, 14.0915, 3.0763)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7019 #2A1970
analogous
#705619 #5F7019 #347019
triadic
#5F7019 #195F70 #70195F
tetradic
#5F7019 #197056 #2A1970 #701934
square
#5F7019 #197056 #2A1970 #701934
split-complementary
#5F7019 #193470 #561970
monochromatic
#151906 #353E0E #5F7019 #89A224 #B2D132

Accessibility & contrast

On white

5.50
#5F7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5F7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7019
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7019#FFFFFF#000000##FFFFFF
##5F70191.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776907
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#656A5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f7019;
/* rgb */ color: rgb(95, 112, 25);
/* oklch */ color: oklch(51.4% 0.111 120.3);
Tailwind
colors: {
  custom: {
    50: '#8f995d',
    500: '#5f7019',
    950: '#000000',
  },
}
SCSS
$custom: #5f7019;
$custom-light: #8f995d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7019",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 71.724,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51395,
    "c": 0.11066,
    "h": 120.3
  },
  "luminance": 0.14091
}

Semantic roles & 50–950 ramp

primary
#5F7019
secondary
#5340A5
accent
#41E762
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F7019

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

Preview Lab → · Contrast checker → · Palette generator →

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