#5D8114#5D8114

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

Color values

HEX#5D8114
RGBrgb(93, 129, 20)
HSLhsl(80, 73%, 29%)
HSVhsv(80, 84%, 51%)
CMYKcmyk(27.9%, 0%, 84.5%, 49.4%)
CIE-LABlab(49.59, -28.51, 49.54)
CIE-LCHlch(49.59, 57.16, 119.92°)
OKLaboklab(55.58% -0.0824 0.1082)
OKLCHoklch(55.58% 0.136 127.3)
XYZxyz(12.4908, 18.0779, 3.4930)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8114 #381481
analogous
#816F14 #5D8114 #268114
triadic
#5D8114 #145D81 #81145D
tetradic
#5D8114 #14816F #381481 #811426
square
#5D8114 #14816F #381481 #811426
split-complementary
#5D8114 #142681 #6F1481
monochromatic
#131A04 #374C0C #5D8114 #83B61C #A5DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8114#FFFFFF#000000##000000
##5D81141.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)
#837521
Tritanopia (blue-blind)
#617B6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d8114;
/* rgb */ color: rgb(93, 129, 20);
/* oklch */ color: oklch(55.6% 0.136 127.3);
Tailwind
colors: {
  custom: {
    50: '#8fa55d',
    500: '#5d8114',
    950: '#000000',
  },
}
SCSS
$custom: #5d8114;
$custom-light: #8fa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8114",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 79.817,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55582,
    "c": 0.13604,
    "h": 127.3
  },
  "luminance": 0.18078
}

Semantic roles & 50–950 ramp

primary
#5D8114
secondary
#633BB6
accent
#38F075
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D8114

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

Preview Lab → · Contrast checker → · Palette generator →

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