#5F8D10#5F8D10

#5F8D10 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.151 H 129.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5F8D10
RGBrgb(95, 141, 16)
HSLhsl(82, 80%, 31%)
HSVhsv(82, 89%, 55%)
CMYKcmyk(32.6%, 0%, 88.7%, 44.7%)
CIE-LABlab(53.51, -33.46, 53.99)
CIE-LCHlch(53.51, 63.52, 121.79°)
OKLaboklab(58.8% -0.0961 0.117)
OKLCHoklch(58.8% 0.151 129.4)
XYZxyz(14.3377, 21.5196, 3.8884)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8D10 #3E108D
analogous
#8D7C10 #5F8D10 #208D10
triadic
#5F8D10 #105F8D #8D105F
tetradic
#5F8D10 #108D7C #3E108D #8D1020
square
#5F8D10 #108D7C #3E108D #8D1020
split-complementary
#5F8D10 #10208D #7C108D
monochromatic
#151F04 #3A560A #5F8D10 #84C416 #A4E730

Accessibility & contrast

On white

3.96
#5F8D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5F8D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8D10
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8D10#FFFFFF#000000##000000
##5F8D101.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#628678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f8d10;
/* rgb */ color: rgb(95, 141, 16);
/* oklch */ color: oklch(58.8% 0.151 129.4);
Tailwind
colors: {
  custom: {
    50: '#91ae5e',
    500: '#5f8d10',
    950: '#000000',
  },
}
SCSS
$custom: #5f8d10;
$custom-light: #91ae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8d10",
  "rgb": {
    "r": 95,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 82.08,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58803,
    "c": 0.15146,
    "h": 129.4
  },
  "luminance": 0.2152
}

Semantic roles & 50–950 ramp

primary
#5F8D10
secondary
#6A37C2
accent
#32F67A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5F8D10

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

Preview Lab → · Contrast checker → · Palette generator →

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