#5F9F16#5F9F16

#5F9F16 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.5% C 0.171 H 132.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5F9F16
RGBrgb(95, 159, 22)
HSLhsl(88, 76%, 35%)
HSVhsv(88, 86%, 62%)
CMYKcmyk(40.3%, 0%, 86.2%, 37.6%)
CIE-LABlab(59.24, -41.15, 57.55)
CIE-LCHlch(59.24, 70.75, 125.57°)
OKLaboklab(63.49% -0.1164 0.1255)
OKLCHoklch(63.49% 0.171 132.9)
XYZxyz(17.2620, 27.2863, 5.1161)
Luminance0.2729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9F16 #56169F
analogous
#9F9A16 #5F9F16 #1A9F16
triadic
#5F9F16 #165F9F #9F165F
tetradic
#5F9F16 #169F9A #56169F #9F161A
square
#5F9F16 #169F9A #56169F #9F161A
split-complementary
#5F9F16 #161A9F #9A169F
monochromatic
#1F3307 #3F690F #5F9F16 #7FD51D #9DE64A

Accessibility & contrast

On white

3.25
#5F9F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#5F9F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9F16
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9F16#FFFFFF#000000##000000
##5F9F161.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9D8D28
Tritanopia (blue-blind)
#5F9887
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f9f16;
/* rgb */ color: rgb(95, 159, 22);
/* oklch */ color: oklch(63.5% 0.171 132.9);
Tailwind
colors: {
  custom: {
    50: '#93bc63',
    500: '#5f9f16',
    950: '#000000',
  },
}
SCSS
$custom: #5f9f16;
$custom-light: #93bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9f16",
  "rgb": {
    "r": 95,
    "g": 159,
    "b": 22
  },
  "hsl": {
    "h": 88.029,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63488,
    "c": 0.1712,
    "h": 132.9
  },
  "luminance": 0.27287
}

Semantic roles & 50–950 ramp

primary
#5F9F16
secondary
#844AC7
accent
#36F28E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5F9F16

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

Preview Lab → · Contrast checker → · Palette generator →

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