#5F8013#5F8013

#5F8013 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.134 H 126.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5F8013
RGBrgb(95, 128, 19)
HSLhsl(78, 74%, 29%)
HSVhsv(78, 85%, 50%)
CMYKcmyk(25.8%, 0%, 85.2%, 49.8%)
CIE-LABlab(49.40, -27.23, 49.69)
CIE-LCHlch(49.40, 56.67, 118.72°)
OKLaboklab(55.46% -0.0792 0.1083)
OKLCHoklch(55.46% 0.134 126.2)
XYZxyz(12.5561, 17.9180, 3.4130)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8013 #341380
analogous
#806B13 #5F8013 #298013
triadic
#5F8013 #135F80 #80135F
tetradic
#5F8013 #13806B #341380 #801329
square
#5F8013 #13806B #341380 #801329
split-complementary
#5F8013 #132980 #6B1380
monochromatic
#141B04 #374B0B #5F8013 #87B51B #AAE02D

Accessibility & contrast

On white

4.58
#5F8013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5F8013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8013
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8013#FFFFFF#000000##000000
##5F80131.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#637A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f8013;
/* rgb */ color: rgb(95, 128, 19);
/* oklch */ color: oklch(55.5% 0.134 126.2);
Tailwind
colors: {
  custom: {
    50: '#90a55d',
    500: '#5f8013',
    950: '#000000',
  },
}
SCSS
$custom: #5f8013;
$custom-light: #90a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8013",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 78.165,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55457,
    "c": 0.13416,
    "h": 126.2
  },
  "luminance": 0.17918
}

Semantic roles & 50–950 ramp

primary
#5F8013
secondary
#5F39B5
accent
#37F16F
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F8013

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

Preview Lab → · Contrast checker → · Palette generator →

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