#5E891C#5E891C

#5E891C is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.8% C 0.142 H 129.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5E891C
RGBrgb(94, 137, 28)
HSLhsl(84, 66%, 32%)
HSVhsv(84, 80%, 54%)
CMYKcmyk(31.4%, 0%, 79.6%, 46.3%)
CIE-LABlab(52.24, -31.51, 49.53)
CIE-LCHlch(52.24, 58.70, 122.46°)
OKLaboklab(57.76% -0.09 0.1095)
OKLCHoklch(57.76% 0.142 129.4)
XYZxyz(13.7713, 20.3544, 4.3016)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E891C #471C89
analogous
#897E1C #5E891C #27891C
triadic
#5E891C #1C5E89 #891C5E
tetradic
#5E891C #1C897E #471C89 #891C27
square
#5E891C #1C897E #471C89 #891C27
split-complementary
#5E891C #1C2789 #7E1C89
monochromatic
#182307 #3B5612 #5E891C #81BC26 #9FD946

Accessibility & contrast

On white

4.14
#5E891C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5E891C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E891C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E891C#FFFFFF#000000##000000
##5E891C1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#618375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e891c;
/* rgb */ color: rgb(94, 137, 28);
/* oklch */ color: oklch(57.8% 0.142 129.4);
Tailwind
colors: {
  custom: {
    50: '#90ab62',
    500: '#5e891c',
    950: '#000000',
  },
}
SCSS
$custom: #5e891c;
$custom-light: #90ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e891c",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 83.67,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57762,
    "c": 0.14178,
    "h": 129.4
  },
  "luminance": 0.20355
}

Semantic roles & 50–950 ramp

primary
#5E891C
secondary
#7446BB
accent
#3FE982
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E891C

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

Preview Lab → · Contrast checker → · Palette generator →

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