#5F8F16#5F8F16

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

Color values

HEX#5F8F16
RGBrgb(95, 143, 22)
HSLhsl(84, 73%, 32%)
HSVhsv(84, 85%, 56%)
CMYKcmyk(33.6%, 0%, 84.6%, 43.9%)
CIE-LABlab(54.17, -34.15, 53.10)
CIE-LCHlch(54.17, 63.13, 122.75°)
OKLaboklab(59.35% -0.0976 0.1161)
OKLCHoklch(59.35% 0.152 130.1)
XYZxyz(14.6865, 22.1352, 4.2576)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8F16 #46168F
analogous
#8F8316 #5F8F16 #228F16
triadic
#5F8F16 #165F8F #8F165F
tetradic
#5F8F16 #168F83 #46168F #8F1622
square
#5F8F16 #168F83 #46168F #8F1622
split-complementary
#5F8F16 #16228F #83168F
monochromatic
#192506 #3C5A0E #5F8F16 #82C41E #A1E13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8F16#FFFFFF#000000##000000
##5F8F161.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)
#8F8025
Tritanopia (blue-blind)
#628879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f8f16;
/* rgb */ color: rgb(95, 143, 22);
/* oklch */ color: oklch(59.3% 0.152 130.1);
Tailwind
colors: {
  custom: {
    50: '#91b060',
    500: '#5f8f16',
    950: '#000000',
  },
}
SCSS
$custom: #5f8f16;
$custom-light: #91b060;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8f16",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 83.802,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59345,
    "c": 0.15167,
    "h": 130.1
  },
  "luminance": 0.22136
}

Semantic roles & 50–950 ramp

primary
#5F8F16
secondary
#733FC1
accent
#38F081
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5F8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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