#5A8114#5A8114

#5A8114 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.4% C 0.138 H 128.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5A8114
RGBrgb(90, 129, 20)
HSLhsl(81, 73%, 29%)
HSVhsv(81, 84%, 51%)
CMYKcmyk(30.2%, 0%, 84.5%, 49.4%)
CIE-LABlab(49.40, -29.74, 49.30)
CIE-LCHlch(49.40, 57.58, 121.10°)
OKLaboklab(55.38% -0.0856 0.1078)
OKLCHoklch(55.38% 0.138 128.4)
XYZxyz(12.1930, 17.9244, 3.4790)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8114 #3B1481
analogous
#817214 #5A8114 #248114
triadic
#5A8114 #145A81 #81145A
tetradic
#5A8114 #148172 #3B1481 #811424
square
#5A8114 #148172 #3B1481 #811424
split-complementary
#5A8114 #142481 #721481
monochromatic
#121A04 #354C0C #5A8114 #7FB61C #A1DF30

Accessibility & contrast

On white

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

On black

4.59
#5A8114 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8114
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8114#FFFFFF#000000##000000
##5A81141.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#827521
Tritanopia (blue-blind)
#5D7B6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a8114;
/* rgb */ color: rgb(90, 129, 20);
/* oklch */ color: oklch(55.4% 0.138 128.4);
Tailwind
colors: {
  custom: {
    50: '#8da65d',
    500: '#5a8114',
    950: '#000000',
  },
}
SCSS
$custom: #5a8114;
$custom-light: #8da65d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8114",
  "rgb": {
    "r": 90,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 81.468,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55382,
    "c": 0.13765,
    "h": 128.4
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#5A8114
secondary
#673BB6
accent
#38F07A
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5A8114

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

Preview Lab → · Contrast checker → · Palette generator →

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