#56831A#56831A

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

Color values

HEX#56831A
RGBrgb(86, 131, 26)
HSLhsl(86, 67%, 31%)
HSVhsv(86, 80%, 51%)
CMYKcmyk(34.4%, 0%, 80.2%, 48.6%)
CIE-LABlab(49.84, -31.99, 47.78)
CIE-LCHlch(49.84, 57.50, 123.80°)
OKLaboklab(55.68% -0.091 0.1057)
OKLCHoklch(55.68% 0.139 130.7)
XYZxyz(12.1404, 18.2852, 3.8668)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56831A #471A83
analogous
#837B1A #56831A #22831A
triadic
#56831A #1A5683 #831A56
tetradic
#56831A #1A837B #471A83 #831A22
square
#56831A #1A837B #471A83 #831A22
split-complementary
#56831A #1A2283 #7B1A83
monochromatic
#131D06 #345010 #56831A #78B624 #97D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56831A#FFFFFF#000000##000000
##56831A1.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)
#897900
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#587D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #56831a;
/* rgb */ color: rgb(86, 131, 26);
/* oklch */ color: oklch(55.7% 0.139 130.7);
Tailwind
colors: {
  custom: {
    50: '#8aa760',
    500: '#56831a',
    950: '#000000',
  },
}
SCSS
$custom: #56831a;
$custom-light: #8aa760;
$custom-dark: #000000;
JSON
{
  "hex": "#56831a",
  "rgb": {
    "r": 86,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 85.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55684,
    "c": 0.13946,
    "h": 130.7
  },
  "luminance": 0.18286
}

Semantic roles & 50–950 ramp

primary
#56831A
secondary
#7442B7
accent
#3EEA88
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #56831A

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

Preview Lab → · Contrast checker → · Palette generator →

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