#5F8819#5F8819

#5F8819 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.6% C 0.141 H 128.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5F8819
RGBrgb(95, 136, 25)
HSLhsl(82, 69%, 32%)
HSVhsv(82, 82%, 53%)
CMYKcmyk(30.1%, 0%, 81.6%, 46.7%)
CIE-LABlab(51.96, -30.79, 50.25)
CIE-LCHlch(51.96, 58.94, 121.50°)
OKLaboklab(57.55% -0.0884 0.1105)
OKLCHoklch(57.55% 0.142 128.7)
XYZxyz(13.6989, 20.1110, 4.0796)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8819 #421988
analogous
#887A19 #5F8819 #288819
triadic
#5F8819 #195F88 #88195F
tetradic
#5F8819 #19887A #421988 #881928
square
#5F8819 #19887A #421988 #881928
split-complementary
#5F8819 #192888 #7A1988
monochromatic
#172106 #3B540F #5F8819 #83BC23 #A2DC40

Accessibility & contrast

On white

4.18
#5F8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5F8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8819
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8819#FFFFFF#000000##000000
##5F88191.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#628274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f8819;
/* rgb */ color: rgb(95, 136, 25);
/* oklch */ color: oklch(57.6% 0.141 128.7);
Tailwind
colors: {
  custom: {
    50: '#90ab60',
    500: '#5f8819',
    950: '#000000',
  },
}
SCSS
$custom: #5f8819;
$custom-light: #90ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8819",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 82.162,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57551,
    "c": 0.1415,
    "h": 128.7
  },
  "luminance": 0.20111
}

Semantic roles & 50–950 ramp

primary
#5F8819
secondary
#6E41BB
accent
#3CEC7D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5F8819

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

Preview Lab → · Contrast checker → · Palette generator →

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