#5F8D19#5F8D19

#5F8D19 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.8% C 0.148 H 129.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5F8D19
RGBrgb(95, 141, 25)
HSLhsl(84, 70%, 33%)
HSVhsv(84, 82%, 55%)
CMYKcmyk(32.6%, 0%, 82.3%, 44.7%)
CIE-LABlab(53.55, -33.11, 51.70)
CIE-LCHlch(53.55, 61.39, 122.64°)
OKLaboklab(58.84% -0.0946 0.1136)
OKLCHoklch(58.84% 0.148 129.8)
XYZxyz(14.4196, 21.5524, 4.3198)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8D19 #47198D
analogous
#8D8119 #5F8D19 #258D19
triadic
#5F8D19 #195F8D #8D195F
tetradic
#5F8D19 #198D81 #47198D #8D1925
square
#5F8D19 #198D81 #47198D #8D1925
split-complementary
#5F8D19 #19258D #81198D
monochromatic
#192507 #3C5910 #5F8D19 #82C122 #A0DE43

Accessibility & contrast

On white

3.95
#5F8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5F8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8D19
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8D19#FFFFFF#000000##000000
##5F8D191.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#628778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f8d19;
/* rgb */ color: rgb(95, 141, 25);
/* oklch */ color: oklch(58.8% 0.148 129.8);
Tailwind
colors: {
  custom: {
    50: '#91ae61',
    500: '#5f8d19',
    950: '#000000',
  },
}
SCSS
$custom: #5f8d19;
$custom-light: #91ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8d19",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 83.793,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.14783,
    "h": 129.8
  },
  "luminance": 0.21553
}

Semantic roles & 50–950 ramp

primary
#5F8D19
secondary
#7443BF
accent
#3BED82
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5F8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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