#5F8E19#5F8E19

#5F8E19 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.149 H 130.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5F8E19
RGBrgb(95, 142, 25)
HSLhsl(84, 70%, 33%)
HSVhsv(84, 82%, 56%)
CMYKcmyk(33.1%, 0%, 82.4%, 44.3%)
CIE-LABlab(53.87, -33.57, 51.99)
CIE-LCHlch(53.87, 61.88, 122.85°)
OKLaboklab(59.1% -0.0959 0.1142)
OKLCHoklch(59.1% 0.149 130)
XYZxyz(14.5677, 21.8486, 4.3692)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8E19 #48198E
analogous
#8E8319 #5F8E19 #248E19
triadic
#5F8E19 #195F8E #8E195F
tetradic
#5F8E19 #198E83 #48198E #8E1924
square
#5F8E19 #198E83 #48198E #8E1924
split-complementary
#5F8E19 #19248E #83198E
monochromatic
#192607 #3C5A10 #5F8E19 #82C222 #A0DE43

Accessibility & contrast

On white

3.91
#5F8E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5F8E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8E19
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8E19#FFFFFF#000000##000000
##5F8E191.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#628879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f8e19;
/* rgb */ color: rgb(95, 142, 25);
/* oklch */ color: oklch(59.1% 0.149 130.0);
Tailwind
colors: {
  custom: {
    50: '#91af61',
    500: '#5f8e19',
    950: '#000000',
  },
}
SCSS
$custom: #5f8e19;
$custom-light: #91af61;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8e19",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 84.103,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59101,
    "c": 0.1491,
    "h": 130
  },
  "luminance": 0.21849
}

Semantic roles & 50–950 ramp

primary
#5F8E19
secondary
#7544BF
accent
#3BED82
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5F8E19

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

Preview Lab → · Contrast checker → · Palette generator →

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