#5F8114#5F8114

#5F8114 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.7% C 0.135 H 126.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5F8114
RGBrgb(95, 129, 20)
HSLhsl(79, 73%, 29%)
HSVhsv(79, 84%, 51%)
CMYKcmyk(26.4%, 0%, 84.5%, 49.4%)
CIE-LABlab(49.72, -27.68, 49.70)
CIE-LCHlch(49.72, 56.89, 119.11°)
OKLaboklab(55.72% -0.0803 0.1085)
OKLCHoklch(55.72% 0.135 126.5)
XYZxyz(12.6959, 18.1837, 3.5026)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8114 #361481
analogous
#816D14 #5F8114 #288114
triadic
#5F8114 #145F81 #81145F
tetradic
#5F8114 #14816D #361481 #811428
square
#5F8114 #14816D #361481 #811428
split-complementary
#5F8114 #142881 #6D1481
monochromatic
#141A04 #384C0C #5F8114 #86B61C #A9DF30

Accessibility & contrast

On white

4.53
#5F8114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5F8114 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8114
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8114#FFFFFF#000000##000000
##5F81141.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#637B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f8114;
/* rgb */ color: rgb(95, 129, 20);
/* oklch */ color: oklch(55.7% 0.135 126.5);
Tailwind
colors: {
  custom: {
    50: '#90a55d',
    500: '#5f8114',
    950: '#000000',
  },
}
SCSS
$custom: #5f8114;
$custom-light: #90a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8114",
  "rgb": {
    "r": 95,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 78.716,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55719,
    "c": 0.13498,
    "h": 126.5
  },
  "luminance": 0.18184
}

Semantic roles & 50–950 ramp

primary
#5F8114
secondary
#613BB6
accent
#38F071
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F8114

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

Preview Lab → · Contrast checker → · Palette generator →

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