#56851A#56851A

#56851A is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.2% C 0.142 H 131.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#56851A
RGBrgb(86, 133, 26)
HSLhsl(86, 67%, 31%)
HSVhsv(86, 80%, 52%)
CMYKcmyk(35.3%, 0%, 80.5%, 47.8%)
CIE-LABlab(50.48, -32.90, 48.38)
CIE-LCHlch(50.48, 58.51, 124.22°)
OKLaboklab(56.21% -0.0935 0.107)
OKLCHoklch(56.21% 0.142 131.1)
XYZxyz(12.4116, 18.8276, 3.9572)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56851A #491A85
analogous
#857E1A #56851A #20851A
triadic
#56851A #1A5685 #851A56
tetradic
#56851A #1A857E #491A85 #851A20
square
#56851A #1A857E #491A85 #851A20
split-complementary
#56851A #1A2085 #7E1A85
monochromatic
#141F06 #355210 #56851A #77B824 #96DA40

Accessibility & contrast

On white

4.41
#56851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#56851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56851A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56851A#FFFFFF#000000##000000
##56851A1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#587F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #56851a;
/* rgb */ color: rgb(86, 133, 26);
/* oklch */ color: oklch(56.2% 0.142 131.1);
Tailwind
colors: {
  custom: {
    50: '#8aa960',
    500: '#56851a',
    950: '#000000',
  },
}
SCSS
$custom: #56851a;
$custom-light: #8aa960;
$custom-dark: #000000;
JSON
{
  "hex": "#56851a",
  "rgb": {
    "r": 86,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 86.355,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.14204,
    "h": 131.1
  },
  "luminance": 0.18828
}

Semantic roles & 50–950 ramp

primary
#56851A
secondary
#7642B8
accent
#3EEA89
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #56851A

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

Preview Lab → · Contrast checker → · Palette generator →

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