#5F8618#5F8618

#5F8618 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.139 H 128.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5F8618
RGBrgb(95, 134, 24)
HSLhsl(81, 70%, 31%)
HSVhsv(81, 82%, 53%)
CMYKcmyk(29.1%, 0%, 82.1%, 47.5%)
CIE-LABlab(51.32, -29.89, 49.97)
CIE-LCHlch(51.32, 58.23, 120.89°)
OKLaboklab(57.03% -0.086 0.1098)
OKLCHoklch(57.03% 0.139 128.1)
XYZxyz(13.4093, 19.5487, 3.9308)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8618 #3F1886
analogous
#867618 #5F8618 #288618
triadic
#5F8618 #185F86 #86185F
tetradic
#5F8618 #188676 #3F1886 #861828
square
#5F8618 #188676 #3F1886 #861828
split-complementary
#5F8618 #182886 #761886
monochromatic
#151E05 #3A520F #5F8618 #84BA21 #A3DC3C

Accessibility & contrast

On white

4.28
#5F8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5F8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8618
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8618#FFFFFF#000000##000000
##5F86181.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#887924
Tritanopia (blue-blind)
#638072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f8618;
/* rgb */ color: rgb(95, 134, 24);
/* oklch */ color: oklch(57.0% 0.139 128.1);
Tailwind
colors: {
  custom: {
    50: '#90a960',
    500: '#5f8618',
    950: '#000000',
  },
}
SCSS
$custom: #5f8618;
$custom-light: #90a960;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8618",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 81.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.13946,
    "h": 128.1
  },
  "luminance": 0.19549
}

Semantic roles & 50–950 ramp

primary
#5F8618
secondary
#6B40BA
accent
#3BEC7A
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5F8618

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

Preview Lab → · Contrast checker → · Palette generator →

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