#56831F#56831F

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

Color values

HEX#56831F
RGBrgb(86, 131, 31)
HSLhsl(87, 62%, 32%)
HSVhsv(87, 76%, 51%)
CMYKcmyk(34.4%, 0%, 76.3%, 48.6%)
CIE-LABlab(49.87, -31.69, 46.06)
CIE-LCHlch(49.87, 55.91, 124.53°)
OKLaboklab(55.72% -0.0898 0.1029)
OKLCHoklch(55.72% 0.137 131.1)
XYZxyz(12.2013, 18.3095, 4.1873)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56831F #4C1F83
analogous
#837E1F #56831F #24831F
triadic
#56831F #1F5683 #831F56
tetradic
#56831F #1F837E #4C1F83 #831F24
square
#56831F #1F837E #4C1F83 #831F24
split-complementary
#56831F #1F2483 #7E1F83
monochromatic
#152008 #365213 #56831F #76B42B #95D449

Accessibility & contrast

On white

4.50
#56831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##56831F#FFFFFF#000000##000000
##56831F1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790A
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#587D70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #56831f;
/* rgb */ color: rgb(86, 131, 31);
/* oklch */ color: oklch(55.7% 0.137 131.1);
Tailwind
colors: {
  custom: {
    50: '#8aa762',
    500: '#56831f',
    950: '#000000',
  },
}
SCSS
$custom: #56831f;
$custom-light: #8aa762;
$custom-dark: #000000;
JSON
{
  "hex": "#56831f",
  "rgb": {
    "r": 86,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 87,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55717,
    "c": 0.13658,
    "h": 131.1
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

primary
#56831F
secondary
#7948B6
accent
#43E58C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56831F

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

Preview Lab → · Contrast checker → · Palette generator →

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