#5A8113#5A8113

#5A8113 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.58:1 contrast (WCAG AA passes).

Color values

HEX#5A8113
RGBrgb(90, 129, 19)
HSLhsl(81, 74%, 29%)
HSVhsv(81, 85%, 51%)
CMYKcmyk(30.2%, 0%, 85.3%, 49.4%)
CIE-LABlab(49.40, -29.79, 49.57)
CIE-LCHlch(49.40, 57.84, 121.00°)
OKLaboklab(55.38% -0.0858 0.1082)
OKLCHoklch(55.38% 0.138 128.4)
XYZxyz(12.1843, 17.9209, 3.4331)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8113 #3A1381
analogous
#817113 #5A8113 #238113
triadic
#5A8113 #135A81 #81135A
tetradic
#5A8113 #138171 #3A1381 #811323
square
#5A8113 #138171 #3A1381 #811323
split-complementary
#5A8113 #132381 #711381
monochromatic
#131B04 #354C0B #5A8113 #7FB61B #A1E02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A8113#FFFFFF#000000##000000
##5A81131.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)
#887700
Deuteranopia (green-blind)
#827520
Tritanopia (blue-blind)
#5D7B6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a8113;
/* rgb */ color: rgb(90, 129, 19);
/* oklch */ color: oklch(55.4% 0.138 128.4);
Tailwind
colors: {
  custom: {
    50: '#8da55d',
    500: '#5a8113',
    950: '#000000',
  },
}
SCSS
$custom: #5a8113;
$custom-light: #8da55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8113",
  "rgb": {
    "r": 90,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 81.273,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55377,
    "c": 0.13809,
    "h": 128.4
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#5A8113
secondary
#663AB6
accent
#37F179
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5A8113

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

Preview Lab → · Contrast checker → · Palette generator →

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