#5E891F#5E891F

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

Color values

HEX#5E891F
RGBrgb(94, 137, 31)
HSLhsl(84, 63%, 33%)
HSVhsv(84, 77%, 54%)
CMYKcmyk(31.4%, 0%, 77.4%, 46.3%)
CIE-LABlab(52.25, -31.34, 48.53)
CIE-LCHlch(52.25, 57.77, 122.85°)
OKLaboklab(57.78% -0.0894 0.1079)
OKLCHoklch(57.78% 0.14 129.6)
XYZxyz(13.8090, 20.3695, 4.5002)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E891F #4A1F89
analogous
#897F1F #5E891F #29891F
triadic
#5E891F #1F5E89 #891F5E
tetradic
#5E891F #1F897F #4A1F89 #891F29
square
#5E891F #1F897F #4A1F89 #891F29
split-complementary
#5E891F #1F2989 #7F1F89
monochromatic
#1A2508 #3C5714 #5E891F #80BB2A #9ED64C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E891F#FFFFFF#000000##000000
##5E891F1.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)
#907F06
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#618375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e891f;
/* rgb */ color: rgb(94, 137, 31);
/* oklch */ color: oklch(57.8% 0.140 129.6);
Tailwind
colors: {
  custom: {
    50: '#90ab63',
    500: '#5e891f',
    950: '#000000',
  },
}
SCSS
$custom: #5e891f;
$custom-light: #90ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e891f",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 84.34,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57781,
    "c": 0.1401,
    "h": 129.6
  },
  "luminance": 0.2037
}

Semantic roles & 50–950 ramp

primary
#5E891F
secondary
#774BB9
accent
#42E684
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E891F

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

Preview Lab → · Contrast checker → · Palette generator →

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