#56831D#56831D

#56831D is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.7% C 0.138 H 130.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#56831D
RGBrgb(86, 131, 29)
HSLhsl(86, 64%, 31%)
HSVhsv(86, 78%, 51%)
CMYKcmyk(34.4%, 0%, 77.9%, 48.6%)
CIE-LABlab(49.86, -31.82, 46.77)
CIE-LCHlch(49.86, 56.57, 124.23°)
OKLaboklab(55.7% -0.0903 0.1041)
OKLCHoklch(55.7% 0.138 130.9)
XYZxyz(12.1757, 18.2993, 4.0528)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56831D #4A1D83
analogous
#837D1D #56831D #23831D
triadic
#56831D #1D5683 #831D56
tetradic
#56831D #1D837D #4A1D83 #831D23
square
#56831D #1D837D #4A1D83 #831D23
split-complementary
#56831D #1D2383 #7D1D83
monochromatic
#141F07 #355112 #56831D #77B528 #96D645

Accessibility & contrast

On white

4.51
#56831D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#56831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56831D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56831D#FFFFFF#000000##000000
##56831D1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897905
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#587D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #56831d;
/* rgb */ color: rgb(86, 131, 29);
/* oklch */ color: oklch(55.7% 0.138 130.9);
Tailwind
colors: {
  custom: {
    50: '#8aa761',
    500: '#56831d',
    950: '#000000',
  },
}
SCSS
$custom: #56831d;
$custom-light: #8aa761;
$custom-dark: #000000;
JSON
{
  "hex": "#56831d",
  "rgb": {
    "r": 86,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 86.471,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.13778,
    "h": 130.9
  },
  "luminance": 0.183
}

Semantic roles & 50–950 ramp

primary
#56831D
secondary
#7746B6
accent
#41E78A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56831D

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

Preview Lab → · Contrast checker → · Palette generator →

#56831D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva