#56751D#56751D

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

Color values

HEX#56751D
RGBrgb(86, 117, 29)
HSLhsl(81, 60%, 29%)
HSVhsv(81, 75%, 46%)
CMYKcmyk(26.5%, 0%, 75.2%, 54.1%)
CIE-LABlab(45.34, -25.11, 42.37)
CIE-LCHlch(45.34, 49.25, 120.65°)
OKLaboklab(52.03% -0.072 0.0949)
OKLCHoklch(52.03% 0.119 127.2)
XYZxyz(10.4208, 14.7895, 3.4678)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56751D #3C1D75
analogous
#75681D #56751D #2A751D
triadic
#56751D #1D5675 #751D56
tetradic
#56751D #1D7568 #3C1D75 #751D2A
square
#56751D #1D7568 #3C1D75 #751D2A
split-complementary
#56751D #1D2A75 #681D75
monochromatic
#121906 #324411 #56751D #7AA629 #9CCF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56751D#FFFFFF#000000##FFFFFF
##56751D1.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)
#7B6D0D
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#596F64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #56751d;
/* rgb */ color: rgb(86, 117, 29);
/* oklch */ color: oklch(52.0% 0.119 127.2);
Tailwind
colors: {
  custom: {
    50: '#899d60',
    500: '#56751d',
    950: '#000000',
  },
}
SCSS
$custom: #56751d;
$custom-light: #899d60;
$custom-dark: #000000;
JSON
{
  "hex": "#56751d",
  "rgb": {
    "r": 86,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 81.136,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52032,
    "c": 0.11911,
    "h": 127.2
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#56751D
secondary
#6845A9
accent
#44E37C
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56751D

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

Preview Lab → · Contrast checker → · Palette generator →

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