#5F8B19#5F8B19

#5F8B19 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.3% C 0.145 H 129.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5F8B19
RGBrgb(95, 139, 25)
HSLhsl(83, 70%, 32%)
HSVhsv(83, 82%, 55%)
CMYKcmyk(31.7%, 0%, 82%, 45.5%)
CIE-LABlab(52.91, -32.19, 51.12)
CIE-LCHlch(52.91, 60.41, 122.20°)
OKLaboklab(58.33% -0.0922 0.1123)
OKLCHoklch(58.33% 0.145 129.4)
XYZxyz(14.1274, 20.9679, 4.2224)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8B19 #45198B
analogous
#8B7E19 #5F8B19 #268B19
triadic
#5F8B19 #195F8B #8B195F
tetradic
#5F8B19 #198B7E #45198B #8B1926
square
#5F8B19 #198B7E #45198B #8B1926
split-complementary
#5F8B19 #19268B #7E198B
monochromatic
#182306 #3C5710 #5F8B19 #82BF22 #A1DD41

Accessibility & contrast

On white

4.04
#5F8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5F8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8B19
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8B19#FFFFFF#000000##000000
##5F8B191.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#628576
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f8b19;
/* rgb */ color: rgb(95, 139, 25);
/* oklch */ color: oklch(58.3% 0.145 129.4);
Tailwind
colors: {
  custom: {
    50: '#91ad61',
    500: '#5f8b19',
    950: '#000000',
  },
}
SCSS
$custom: #5f8b19;
$custom-light: #91ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8b19",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 83.158,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58326,
    "c": 0.14531,
    "h": 129.4
  },
  "luminance": 0.20968
}

Semantic roles & 50–950 ramp

primary
#5F8B19
secondary
#7242BE
accent
#3BEC80
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5F8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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