#5F7919#5F7919

#5F7919 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.7% C 0.122 H 124.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5F7919
RGBrgb(95, 121, 25)
HSLhsl(76, 66%, 29%)
HSVhsv(76, 79%, 47%)
CMYKcmyk(21.5%, 0%, 79.3%, 52.5%)
CIE-LABlab(47.21, -23.49, 45.85)
CIE-LCHlch(47.21, 51.52, 117.13°)
OKLaboklab(53.69% -0.0685 0.1012)
OKLCHoklch(53.69% 0.122 124.1)
XYZxyz(11.7323, 16.1777, 3.4240)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7919 #331979
analogous
#796319 #5F7919 #2F7919
triadic
#5F7919 #195F79 #79195F
tetradic
#5F7919 #197963 #331979 #79192F
square
#5F7919 #197963 #331979 #79192F
split-complementary
#5F7919 #192F79 #631979
monochromatic
#141905 #37460F #5F7919 #87AC23 #ABD637

Accessibility & contrast

On white

4.96
#5F7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5F7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7919
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7919#FFFFFF#000000##FFFFFF
##5F79191.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807102
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#647367
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f7919;
/* rgb */ color: rgb(95, 121, 25);
/* oklch */ color: oklch(53.7% 0.122 124.1);
Tailwind
colors: {
  custom: {
    50: '#909f5e',
    500: '#5f7919',
    950: '#000000',
  },
}
SCSS
$custom: #5f7919;
$custom-light: #909f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7919",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 76.25,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53691,
    "c": 0.12224,
    "h": 124.1
  },
  "luminance": 0.16178
}

Semantic roles & 50–950 ramp

primary
#5F7919
secondary
#5E40AE
accent
#3FE96D
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F7919

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

Preview Lab → · Contrast checker → · Palette generator →

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