#56821B#56821B

#56821B is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.4% C 0.138 H 130.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#56821B
RGBrgb(86, 130, 27)
HSLhsl(86, 66%, 31%)
HSVhsv(86, 79%, 51%)
CMYKcmyk(33.8%, 0%, 79.2%, 49%)
CIE-LABlab(49.52, -31.47, 47.14)
CIE-LCHlch(49.52, 56.68, 123.72°)
OKLaboklab(55.43% -0.0895 0.1045)
OKLCHoklch(55.43% 0.138 130.6)
XYZxyz(12.0181, 18.0224, 3.8822)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56821B #471B82
analogous
#827A1B #56821B #22821B
triadic
#56821B #1B5682 #821B56
tetradic
#56821B #1B827A #471B82 #821B22
square
#56821B #1B827A #471B82 #821B22
split-complementary
#56821B #1B2282 #7A1B82
monochromatic
#131D06 #344F10 #56821B #78B526 #97D740

Accessibility & contrast

On white

4.56
#56821B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#56821B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56821B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56821B#FFFFFF#000000##000000
##56821B1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887801
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#587C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #56821b;
/* rgb */ color: rgb(86, 130, 27);
/* oklch */ color: oklch(55.4% 0.138 130.6);
Tailwind
colors: {
  custom: {
    50: '#8aa660',
    500: '#56821b',
    950: '#000000',
  },
}
SCSS
$custom: #56821b;
$custom-light: #8aa660;
$custom-dark: #000000;
JSON
{
  "hex": "#56821b",
  "rgb": {
    "r": 86,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 85.631,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.13761,
    "h": 130.6
  },
  "luminance": 0.18023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #56821B

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

Preview Lab → · Contrast checker → · Palette generator →

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