#5F9016#5F9016

#5F9016 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.6% C 0.153 H 130.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5F9016
RGBrgb(95, 144, 22)
HSLhsl(84, 73%, 33%)
HSVhsv(84, 85%, 56%)
CMYKcmyk(34%, 0%, 84.7%, 43.5%)
CIE-LABlab(54.49, -34.60, 53.38)
CIE-LCHlch(54.49, 63.62, 122.95°)
OKLaboklab(59.6% -0.0989 0.1166)
OKLCHoklch(59.6% 0.153 130.3)
XYZxyz(14.8373, 22.4368, 4.3079)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9016 #471690
analogous
#908416 #5F9016 #229016
triadic
#5F9016 #165F90 #90165F
tetradic
#5F9016 #169084 #471690 #901622
square
#5F9016 #169084 #471690 #901622
split-complementary
#5F9016 #162290 #841690
monochromatic
#192606 #3C5B0E #5F9016 #82C51E #A0E23F

Accessibility & contrast

On white

3.83
#5F9016 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5F9016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9016
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9016#FFFFFF#000000##000000
##5F90161.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#62897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f9016;
/* rgb */ color: rgb(95, 144, 22);
/* oklch */ color: oklch(59.6% 0.153 130.3);
Tailwind
colors: {
  custom: {
    50: '#91b161',
    500: '#5f9016',
    950: '#000000',
  },
}
SCSS
$custom: #5f9016;
$custom-light: #91b161;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9016",
  "rgb": {
    "r": 95,
    "g": 144,
    "b": 22
  },
  "hsl": {
    "h": 84.098,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59604,
    "c": 0.15291,
    "h": 130.3
  },
  "luminance": 0.22437
}

Semantic roles & 50–950 ramp

primary
#5F9016
secondary
#7440C2
accent
#38F082
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5F9016

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

Preview Lab → · Contrast checker → · Palette generator →

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