#5D892F#5D892F

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

Color values

HEX#5D892F
RGBrgb(93, 137, 47)
HSLhsl(89, 49%, 36%)
HSVhsv(89, 66%, 54%)
CMYKcmyk(32.1%, 0%, 65.7%, 46.3%)
CIE-LABlab(52.31, -30.56, 42.12)
CIE-LCHlch(52.31, 52.04, 125.96°)
OKLaboklab(57.85% -0.0858 0.0969)
OKLCHoklch(57.85% 0.129 131.5)
XYZxyz(13.9728, 20.4232, 5.8947)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D892F #5B2F89
analogous
#89882F #5D892F #30892F
triadic
#5D892F #2F5D89 #892F5D
tetradic
#5D892F #2F8988 #5B2F89 #892F30
square
#5D892F #2F8988 #5B2F89 #892F30
split-complementary
#5D892F #2F3089 #882F89
monochromatic
#1F2E10 #3E5B1F #5D892F #7CB73F #9ACB67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D892F#FFFFFF#000000##000000
##5D892F1.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)
#8F7F24
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#5E8376
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d892f;
/* rgb */ color: rgb(93, 137, 47);
/* oklch */ color: oklch(57.9% 0.129 131.5);
Tailwind
colors: {
  custom: {
    50: '#8eab6c',
    500: '#5d892f',
    950: '#000000',
  },
}
SCSS
$custom: #5d892f;
$custom-light: #8eab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d892f",
  "rgb": {
    "r": 93,
    "g": 137,
    "b": 47
  },
  "hsl": {
    "h": 89.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57853,
    "c": 0.12942,
    "h": 131.5
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#5D892F
secondary
#8962B2
accent
#4FD892
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5D892F

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

Preview Lab → · Contrast checker → · Palette generator →

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