#56751A#56751A

#56751A is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 52.0% C 0.121 H 127.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#56751A
RGBrgb(86, 117, 26)
HSLhsl(80, 64%, 28%)
HSVhsv(80, 78%, 46%)
CMYKcmyk(26.5%, 0%, 77.8%, 54.1%)
CIE-LABlab(45.33, -25.29, 43.49)
CIE-LCHlch(45.33, 50.31, 120.18°)
OKLaboklab(52.01% -0.0728 0.0967)
OKLCHoklch(52.01% 0.121 127)
XYZxyz(10.3855, 14.7754, 3.2819)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56751A #391A75
analogous
#75661A #56751A #28751A
triadic
#56751A #1A5675 #751A56
tetradic
#56751A #1A7566 #391A75 #751A28
square
#56751A #1A7566 #391A75 #751A28
split-complementary
#56751A #1A2875 #661A75
monochromatic
#121906 #31430F #56751A #7BA725 #9ED337

Accessibility & contrast

On white

5.31
#56751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#56751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56751A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56751A#FFFFFF#000000##FFFFFF
##56751A1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D06
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#5A6F64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #56751a;
/* rgb */ color: rgb(86, 117, 26);
/* oklch */ color: oklch(52.0% 0.121 127.0);
Tailwind
colors: {
  custom: {
    50: '#899d5e',
    500: '#56751a',
    950: '#000000',
  },
}
SCSS
$custom: #56751a;
$custom-light: #899d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#56751a",
  "rgb": {
    "r": 86,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 80.44,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5201,
    "c": 0.12104,
    "h": 127
  },
  "luminance": 0.14776
}

Semantic roles & 50–950 ramp

primary
#56751A
secondary
#6541AA
accent
#41E77A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56751A

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

Preview Lab → · Contrast checker → · Palette generator →

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