#56751C#56751C

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

Color values

HEX#56751C
RGBrgb(86, 117, 28)
HSLhsl(81, 61%, 28%)
HSVhsv(81, 76%, 46%)
CMYKcmyk(26.5%, 0%, 76.1%, 54.1%)
CIE-LABlab(45.34, -25.17, 42.75)
CIE-LCHlch(45.34, 49.61, 120.49°)
OKLaboklab(52.02% -0.0723 0.0955)
OKLCHoklch(52.02% 0.12 127.1)
XYZxyz(10.4087, 14.7847, 3.4037)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56751C #3B1C75
analogous
#75671C #56751C #29751C
triadic
#56751C #1C5675 #751C56
tetradic
#56751C #1C7567 #3B1C75 #751C29
square
#56751C #1C7567 #3B1C75 #751C29
split-complementary
#56751C #1C2975 #671C75
monochromatic
#121906 #324410 #56751C #7AA628 #9CD03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56751C#FFFFFF#000000##FFFFFF
##56751C1.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)
#7B6D0B
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#5A6F64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #56751c;
/* rgb */ color: rgb(86, 117, 28);
/* oklch */ color: oklch(52.0% 0.120 127.1);
Tailwind
colors: {
  custom: {
    50: '#899d5f',
    500: '#56751c',
    950: '#000000',
  },
}
SCSS
$custom: #56751c;
$custom-light: #899d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#56751c",
  "rgb": {
    "r": 86,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 80.899,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52024,
    "c": 0.11977,
    "h": 127.1
  },
  "luminance": 0.14785
}

Semantic roles & 50–950 ramp

primary
#56751C
secondary
#6744A9
accent
#43E47B
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56751C

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

Preview Lab → · Contrast checker → · Palette generator →

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