#56891F#56891F

#56891F is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.3% C 0.144 H 132.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#56891F
RGBrgb(86, 137, 31)
HSLhsl(89, 63%, 33%)
HSVhsv(89, 77%, 54%)
CMYKcmyk(37.2%, 0%, 77.4%, 46.3%)
CIE-LABlab(51.80, -34.43, 47.94)
CIE-LCHlch(51.80, 59.02, 125.69°)
OKLaboklab(57.29% -0.0972 0.1068)
OKLCHoklch(57.29% 0.144 132.3)
XYZxyz(13.0306, 19.9681, 4.4637)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56891F #521F89
analogous
#89871F #56891F #21891F
triadic
#56891F #1F5689 #891F56
tetradic
#56891F #1F8987 #521F89 #891F21
square
#56891F #1F8987 #521F89 #891F21
split-complementary
#56891F #1F2189 #871F89
monochromatic
#172508 #375714 #56891F #75BB2A #94D64C

Accessibility & contrast

On white

4.21
#56891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#56891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56891F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56891F#FFFFFF#000000##000000
##56891F1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E07
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#578375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #56891f;
/* rgb */ color: rgb(86, 137, 31);
/* oklch */ color: oklch(57.3% 0.144 132.3);
Tailwind
colors: {
  custom: {
    50: '#8aac63',
    500: '#56891f',
    950: '#000000',
  },
}
SCSS
$custom: #56891f;
$custom-light: #8aac63;
$custom-dark: #000000;
JSON
{
  "hex": "#56891f",
  "rgb": {
    "r": 86,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 88.868,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57293,
    "c": 0.14445,
    "h": 132.3
  },
  "luminance": 0.19969
}

Semantic roles & 50–950 ramp

primary
#56891F
secondary
#804BB9
accent
#42E691
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #56891F

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

Preview Lab → · Contrast checker → · Palette generator →

#56891F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva