#5D891F#5D891F

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

Color values

HEX#5D891F
RGBrgb(93, 137, 31)
HSLhsl(85, 63%, 33%)
HSVhsv(85, 77%, 54%)
CMYKcmyk(32.1%, 0%, 77.4%, 46.3%)
CIE-LABlab(52.19, -31.73, 48.45)
CIE-LCHlch(52.19, 57.92, 123.22°)
OKLaboklab(57.72% -0.0904 0.1078)
OKLCHoklch(57.72% 0.141 130)
XYZxyz(13.7071, 20.3170, 4.4954)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D891F #4B1F89
analogous
#89801F #5D891F #28891F
triadic
#5D891F #1F5D89 #891F5D
tetradic
#5D891F #1F8980 #4B1F89 #891F28
square
#5D891F #1F8980 #4B1F89 #891F28
split-complementary
#5D891F #1F2889 #801F89
monochromatic
#192508 #3B5714 #5D891F #7FBB2A #9DD64C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D891F#FFFFFF#000000##000000
##5D891F1.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)
#907F06
Deuteranopia (green-blind)
#8A7B2A
Tritanopia (blue-blind)
#608375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d891f;
/* rgb */ color: rgb(93, 137, 31);
/* oklch */ color: oklch(57.7% 0.141 130.0);
Tailwind
colors: {
  custom: {
    50: '#8fab63',
    500: '#5d891f',
    950: '#000000',
  },
}
SCSS
$custom: #5d891f;
$custom-light: #8fab63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d891f",
  "rgb": {
    "r": 93,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 84.906,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57718,
    "c": 0.14064,
    "h": 130
  },
  "luminance": 0.20317
}

Semantic roles & 50–950 ramp

primary
#5D891F
secondary
#794BB9
accent
#42E686
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D891F

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

Preview Lab → · Contrast checker → · Palette generator →

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