#5F8014#5F8014

#5F8014 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#5F8014
RGBrgb(95, 128, 20)
HSLhsl(78, 73%, 29%)
HSVhsv(78, 84%, 50%)
CMYKcmyk(25.8%, 0%, 84.4%, 49.8%)
CIE-LABlab(49.40, -27.19, 49.42)
CIE-LCHlch(49.40, 56.41, 118.82°)
OKLaboklab(55.46% -0.079 0.1079)
OKLCHoklch(55.46% 0.134 126.2)
XYZxyz(12.5648, 17.9215, 3.4589)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8014 #351480
analogous
#806B14 #5F8014 #298014
triadic
#5F8014 #145F80 #80145F
tetradic
#5F8014 #14806B #351480 #801429
square
#5F8014 #14806B #351480 #801429
split-complementary
#5F8014 #142980 #6B1480
monochromatic
#141A04 #384B0C #5F8014 #86B51C #A9DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8014#FFFFFF#000000##000000
##5F80141.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: #5f8014;
/* rgb */ color: rgb(95, 128, 20);
/* oklch */ color: oklch(55.5% 0.134 126.2);
Tailwind
colors: {
  custom: {
    50: '#90a55d',
    500: '#5f8014',
    950: '#000000',
  },
}
SCSS
$custom: #5f8014;
$custom-light: #90a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8014",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 78.333,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55461,
    "c": 0.13373,
    "h": 126.2
  },
  "luminance": 0.17922
}

Semantic roles & 50–950 ramp

primary
#5F8014
secondary
#603BB5
accent
#38F070
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F8014

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

Preview Lab → · Contrast checker → · Palette generator →

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