#56841F#56841F

#56841F is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.0% C 0.138 H 131.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#56841F
RGBrgb(86, 132, 31)
HSLhsl(87, 62%, 32%)
HSVhsv(87, 77%, 52%)
CMYKcmyk(34.8%, 0%, 76.5%, 48.2%)
CIE-LABlab(50.19, -32.15, 46.37)
CIE-LCHlch(50.19, 56.43, 124.74°)
OKLaboklab(55.98% -0.0911 0.1036)
OKLCHoklch(55.98% 0.138 131.3)
XYZxyz(12.3362, 18.5794, 4.2323)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56841F #4D1F84
analogous
#84801F #56841F #23841F
triadic
#56841F #1F5684 #841F56
tetradic
#56841F #1F8480 #4D1F84 #841F23
square
#56841F #1F8480 #4D1F84 #841F23
split-complementary
#56841F #1F2384 #801F84
monochromatic
#152108 #365213 #56841F #76B62B #95D449

Accessibility & contrast

On white

4.45
#56841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#56841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56841F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56841F#FFFFFF#000000##000000
##56841F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0A
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#587E71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #56841f;
/* rgb */ color: rgb(86, 132, 31);
/* oklch */ color: oklch(56.0% 0.138 131.3);
Tailwind
colors: {
  custom: {
    50: '#8aa862',
    500: '#56841f',
    950: '#000000',
  },
}
SCSS
$custom: #56841f;
$custom-light: #8aa862;
$custom-dark: #000000;
JSON
{
  "hex": "#56841f",
  "rgb": {
    "r": 86,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 87.327,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55979,
    "c": 0.1379,
    "h": 131.3
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

primary
#56841F
secondary
#7A48B7
accent
#43E58D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56841F

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

Preview Lab → · Contrast checker → · Palette generator →

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