#56731D#56731D

#56731D is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.5% C 0.116 H 126.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#56731D
RGBrgb(86, 115, 29)
HSLhsl(80, 60%, 28%)
HSVhsv(80, 75%, 45%)
CMYKcmyk(25.2%, 0%, 74.8%, 54.9%)
CIE-LABlab(44.70, -24.11, 41.73)
CIE-LCHlch(44.70, 48.19, 120.02°)
OKLaboklab(51.51% -0.0693 0.0935)
OKLCHoklch(51.51% 0.116 126.5)
XYZxyz(10.1903, 14.3284, 3.3910)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56731D #3A1D73
analogous
#73651D #56731D #2B731D
triadic
#56731D #1D5673 #731D56
tetradic
#56731D #1D7365 #3A1D73 #731D2B
square
#56731D #1D7365 #3A1D73 #731D2B
split-complementary
#56731D #1D2B73 #651D73
monochromatic
#121806 #314211 #56731D #7BA429 #9DCE3C

Accessibility & contrast

On white

5.43
#56731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#56731D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56731D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56731D#FFFFFF#000000##FFFFFF
##56731D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0E
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#5A6D62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #56731d;
/* rgb */ color: rgb(86, 115, 29);
/* oklch */ color: oklch(51.5% 0.116 126.5);
Tailwind
colors: {
  custom: {
    50: '#899b5f',
    500: '#56731d',
    950: '#000000',
  },
}
SCSS
$custom: #56731d;
$custom-light: #899b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#56731d",
  "rgb": {
    "r": 86,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 80.233,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.1164,
    "h": 126.5
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#56731D
secondary
#6645A7
accent
#45E37A
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56731D

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

Preview Lab → · Contrast checker → · Palette generator →

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