#5F8919#5F8919

#5F8919 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.8% C 0.143 H 128.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5F8919
RGBrgb(95, 137, 25)
HSLhsl(83, 69%, 32%)
HSVhsv(83, 82%, 54%)
CMYKcmyk(30.7%, 0%, 81.8%, 46.3%)
CIE-LABlab(52.28, -31.26, 50.54)
CIE-LCHlch(52.28, 59.43, 121.73°)
OKLaboklab(57.81% -0.0896 0.1111)
OKLCHoklch(57.81% 0.143 128.9)
XYZxyz(13.8404, 20.3940, 4.1267)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8919 #431989
analogous
#897B19 #5F8919 #278919
triadic
#5F8919 #195F89 #89195F
tetradic
#5F8919 #19897B #431989 #891927
square
#5F8919 #19897B #431989 #891927
split-complementary
#5F8919 #192789 #7B1989
monochromatic
#172106 #3B5510 #5F8919 #83BD22 #A2DC40

Accessibility & contrast

On white

4.13
#5F8919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5F8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8919
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8919#FFFFFF#000000##000000
##5F89191.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#628375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f8919;
/* rgb */ color: rgb(95, 137, 25);
/* oklch */ color: oklch(57.8% 0.143 128.9);
Tailwind
colors: {
  custom: {
    50: '#91ab61',
    500: '#5f8919',
    950: '#000000',
  },
}
SCSS
$custom: #5f8919;
$custom-light: #91ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8919",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 82.5,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.14278,
    "h": 128.9
  },
  "luminance": 0.20394
}

Semantic roles & 50–950 ramp

primary
#5F8919
secondary
#7041BC
accent
#3CEC7E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5F8919

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

Preview Lab → · Contrast checker → · Palette generator →

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