#5F8F19#5F8F19

#5F8F19 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.150 H 130.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5F8F19
RGBrgb(95, 143, 25)
HSLhsl(84, 70%, 33%)
HSVhsv(84, 83%, 56%)
CMYKcmyk(33.6%, 0%, 82.5%, 43.9%)
CIE-LABlab(54.18, -34.02, 52.27)
CIE-LCHlch(54.18, 62.37, 123.06°)
OKLaboklab(59.36% -0.0971 0.1148)
OKLCHoklch(59.36% 0.15 130.2)
XYZxyz(14.7172, 22.1475, 4.4190)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8F19 #49198F
analogous
#8F8419 #5F8F19 #248F19
triadic
#5F8F19 #195F8F #8F195F
tetradic
#5F8F19 #198F84 #49198F #8F1924
square
#5F8F19 #198F84 #49198F #8F1924
split-complementary
#5F8F19 #19248F #84198F
monochromatic
#1A2707 #3C5B10 #5F8F19 #82C322 #A0DE44

Accessibility & contrast

On white

3.87
#5F8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5F8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8F19
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8F19#FFFFFF#000000##000000
##5F8F191.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#62887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f8f19;
/* rgb */ color: rgb(95, 143, 25);
/* oklch */ color: oklch(59.4% 0.150 130.2);
Tailwind
colors: {
  custom: {
    50: '#91b062',
    500: '#5f8f19',
    950: '#000000',
  },
}
SCSS
$custom: #5f8f19;
$custom-light: #91b062;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8f19",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 84.407,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5936,
    "c": 0.15035,
    "h": 130.2
  },
  "luminance": 0.22148
}

Semantic roles & 50–950 ramp

primary
#5F8F19
secondary
#7644BF
accent
#3BED83
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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