#56831C#56831C

#56831C 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#56831C
RGBrgb(86, 131, 28)
HSLhsl(86, 65%, 31%)
HSVhsv(86, 79%, 51%)
CMYKcmyk(34.4%, 0%, 78.6%, 48.6%)
CIE-LABlab(49.85, -31.87, 47.11)
CIE-LCHlch(49.85, 56.88, 124.08°)
OKLaboklab(55.7% -0.0905 0.1046)
OKLCHoklch(55.7% 0.138 130.9)
XYZxyz(12.1636, 18.2944, 3.9887)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56831C #491C83
analogous
#837C1C #56831C #22831C
triadic
#56831C #1C5683 #831C56
tetradic
#56831C #1C837C #491C83 #831C22
square
#56831C #1C837C #491C83 #831C22
split-complementary
#56831C #1C2283 #7C1C83
monochromatic
#141E06 #355111 #56831C #77B527 #96D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56831C#FFFFFF#000000##000000
##56831C1.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)
#897903
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#587D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #56831c;
/* rgb */ color: rgb(86, 131, 28);
/* oklch */ color: oklch(55.7% 0.138 130.9);
Tailwind
colors: {
  custom: {
    50: '#8aa761',
    500: '#56831c',
    950: '#000000',
  },
}
SCSS
$custom: #56831c;
$custom-light: #8aa761;
$custom-dark: #000000;
JSON
{
  "hex": "#56831c",
  "rgb": {
    "r": 86,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 86.214,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.13836,
    "h": 130.9
  },
  "luminance": 0.18295
}

Semantic roles & 50–950 ramp

primary
#56831C
secondary
#7645B6
accent
#40E889
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56831C

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

Preview Lab → · Contrast checker → · Palette generator →

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