#5D8113#5D8113

#5D8113 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.136 H 127.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5D8113
RGBrgb(93, 129, 19)
HSLhsl(80, 74%, 29%)
HSVhsv(80, 85%, 51%)
CMYKcmyk(27.9%, 0%, 85.3%, 49.4%)
CIE-LABlab(49.59, -28.55, 49.81)
CIE-LCHlch(49.59, 57.41, 119.82°)
OKLaboklab(55.58% -0.0826 0.1086)
OKLCHoklch(55.58% 0.136 127.2)
XYZxyz(12.4821, 18.0744, 3.4471)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8113 #371381
analogous
#816E13 #5D8113 #268113
triadic
#5D8113 #135D81 #81135D
tetradic
#5D8113 #13816E #371381 #811326
square
#5D8113 #13816E #371381 #811326
split-complementary
#5D8113 #132681 #6E1381
monochromatic
#131B04 #374C0B #5D8113 #83B61B #A6E02E

Accessibility & contrast

On white

4.55
#5D8113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5D8113 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8113
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8113#FFFFFF#000000##000000
##5D81131.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#617B6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d8113;
/* rgb */ color: rgb(93, 129, 19);
/* oklch */ color: oklch(55.6% 0.136 127.2);
Tailwind
colors: {
  custom: {
    50: '#8fa55d',
    500: '#5d8113',
    950: '#000000',
  },
}
SCSS
$custom: #5d8113;
$custom-light: #8fa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8113",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 79.636,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55577,
    "c": 0.13648,
    "h": 127.2
  },
  "luminance": 0.18075
}

Semantic roles & 50–950 ramp

primary
#5D8113
secondary
#623AB6
accent
#37F174
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8113

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

Preview Lab → · Contrast checker → · Palette generator →

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