#56831B#56831B

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

Color values

HEX#56831B
RGBrgb(86, 131, 27)
HSLhsl(86, 66%, 31%)
HSVhsv(86, 79%, 51%)
CMYKcmyk(34.4%, 0%, 79.4%, 48.6%)
CIE-LABlab(49.85, -31.93, 47.45)
CIE-LCHlch(49.85, 57.19, 123.94°)
OKLaboklab(55.69% -0.0908 0.1052)
OKLCHoklch(55.69% 0.139 130.8)
XYZxyz(12.1518, 18.2897, 3.9267)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56831B #481B83
analogous
#837C1B #56831B #22831B
triadic
#56831B #1B5683 #831B56
tetradic
#56831B #1B837C #481B83 #831B22
square
#56831B #1B837C #481B83 #831B22
split-complementary
#56831B #1B2283 #7C1B83
monochromatic
#131E06 #355011 #56831B #77B625 #96D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56831B#FFFFFF#000000##000000
##56831B1.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)
#897901
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#587D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #56831b;
/* rgb */ color: rgb(86, 131, 27);
/* oklch */ color: oklch(55.7% 0.139 130.8);
Tailwind
colors: {
  custom: {
    50: '#8aa760',
    500: '#56831b',
    950: '#000000',
  },
}
SCSS
$custom: #56831b;
$custom-light: #8aa760;
$custom-dark: #000000;
JSON
{
  "hex": "#56831b",
  "rgb": {
    "r": 86,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 85.962,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5569,
    "c": 0.13892,
    "h": 130.8
  },
  "luminance": 0.1829
}

Semantic roles & 50–950 ramp

primary
#56831B
secondary
#7543B6
accent
#3FE988
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #56831B

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

Preview Lab → · Contrast checker → · Palette generator →

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