#5D892B#5D892B

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

Color values

HEX#5D892B
RGBrgb(93, 137, 43)
HSLhsl(88, 52%, 35%)
HSVhsv(88, 69%, 54%)
CMYKcmyk(32.1%, 0%, 68.6%, 46.3%)
CIE-LABlab(52.28, -30.90, 43.84)
CIE-LCHlch(52.28, 53.63, 125.18°)
OKLaboklab(57.81% -0.0871 0.0999)
OKLCHoklch(57.81% 0.133 131.1)
XYZxyz(13.8958, 20.3924, 5.4890)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D892B #572B89
analogous
#89862B #5D892B #2E892B
triadic
#5D892B #2B5D89 #892B5D
tetradic
#5D892B #2B8986 #572B89 #892B2E
square
#5D892B #2B8986 #572B89 #892B2E
split-complementary
#5D892B #2B2E89 #862B89
monochromatic
#1E2C0E #3D5A1C #5D892B #7DB83A #9BCD61

Accessibility & contrast

On white

4.13
#5D892B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5D892B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D892B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D892B#FFFFFF#000000##000000
##5D892B1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#5F8376
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d892b;
/* rgb */ color: rgb(93, 137, 43);
/* oklch */ color: oklch(57.8% 0.133 131.1);
Tailwind
colors: {
  custom: {
    50: '#8eab6a',
    500: '#5d892b',
    950: '#000000',
  },
}
SCSS
$custom: #5d892b;
$custom-light: #8eab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d892b",
  "rgb": {
    "r": 93,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 88.085,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.13258,
    "h": 131.1
  },
  "luminance": 0.20393
}

Semantic roles & 50–950 ramp

primary
#5D892B
secondary
#855CB3
accent
#4CDC8F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D892B

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

Preview Lab → · Contrast checker → · Palette generator →

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