#5D891C#5D891C

#5D891C is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.7% C 0.142 H 129.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5D891C
RGBrgb(93, 137, 28)
HSLhsl(84, 66%, 32%)
HSVhsv(84, 80%, 54%)
CMYKcmyk(32.1%, 0%, 79.6%, 46.3%)
CIE-LABlab(52.18, -31.90, 49.45)
CIE-LCHlch(52.18, 58.85, 122.83°)
OKLaboklab(57.7% -0.0911 0.1094)
OKLCHoklch(57.7% 0.142 129.8)
XYZxyz(13.6694, 20.3019, 4.2968)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D891C #481C89
analogous
#897F1C #5D891C #27891C
triadic
#5D891C #1C5D89 #891C5D
tetradic
#5D891C #1C897F #481C89 #891C27
square
#5D891C #1C897F #481C89 #891C27
split-complementary
#5D891C #1C2789 #7F1C89
monochromatic
#182307 #3B5612 #5D891C #7FBC26 #9ED946

Accessibility & contrast

On white

4.15
#5D891C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5D891C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D891C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D891C#FFFFFF#000000##000000
##5D891C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8A7B27
Tritanopia (blue-blind)
#608375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d891c;
/* rgb */ color: rgb(93, 137, 28);
/* oklch */ color: oklch(57.7% 0.142 129.8);
Tailwind
colors: {
  custom: {
    50: '#8fab62',
    500: '#5d891c',
    950: '#000000',
  },
}
SCSS
$custom: #5d891c;
$custom-light: #8fab62;
$custom-dark: #000000;
JSON
{
  "hex": "#5d891c",
  "rgb": {
    "r": 93,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 84.22,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57699,
    "c": 0.14232,
    "h": 129.8
  },
  "luminance": 0.20302
}

Semantic roles & 50–950 ramp

primary
#5D891C
secondary
#7546BB
accent
#3FE984
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D891C

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

Preview Lab → · Contrast checker → · Palette generator →

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