#56751B#56751B

#56751B is a mid, vivid 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#56751B
RGBrgb(86, 117, 27)
HSLhsl(81, 63%, 28%)
HSVhsv(81, 77%, 46%)
CMYKcmyk(26.5%, 0%, 76.9%, 54.1%)
CIE-LABlab(45.33, -25.23, 43.13)
CIE-LCHlch(45.33, 49.97, 120.33°)
OKLaboklab(52.02% -0.0726 0.0961)
OKLCHoklch(52.02% 0.12 127.1)
XYZxyz(10.3969, 14.7799, 3.3417)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56751B #3A1B75
analogous
#75671B #56751B #29751B
triadic
#56751B #1B5675 #751B56
tetradic
#56751B #1B7567 #3A1B75 #751B29
square
#56751B #1B7567 #3A1B75 #751B29
split-complementary
#56751B #1B2975 #671B75
monochromatic
#121906 #314310 #56751B #7BA726 #9DD139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56751B#FFFFFF#000000##FFFFFF
##56751B1.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)
#7B6D09
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#5A6F64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #56751b;
/* rgb */ color: rgb(86, 117, 27);
/* oklch */ color: oklch(52.0% 0.120 127.1);
Tailwind
colors: {
  custom: {
    50: '#899d5f',
    500: '#56751b',
    950: '#000000',
  },
}
SCSS
$custom: #56751b;
$custom-light: #899d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#56751b",
  "rgb": {
    "r": 86,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 80.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52017,
    "c": 0.12041,
    "h": 127.1
  },
  "luminance": 0.1478
}

Semantic roles & 50–950 ramp

primary
#56751B
secondary
#6642A9
accent
#42E67A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56751B

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

Preview Lab → · Contrast checker → · Palette generator →

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