#56751F#56751F

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

Color values

HEX#56751F
RGBrgb(86, 117, 31)
HSLhsl(82, 58%, 29%)
HSVhsv(82, 74%, 46%)
CMYKcmyk(26.5%, 0%, 73.5%, 54.1%)
CIE-LABlab(45.36, -24.97, 41.59)
CIE-LCHlch(45.36, 48.51, 120.99°)
OKLaboklab(52.05% -0.0715 0.0935)
OKLCHoklch(52.05% 0.118 127.4)
XYZxyz(10.4464, 14.7997, 3.6023)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56751F #3E1F75
analogous
#75691F #56751F #2B751F
triadic
#56751F #1F5675 #751F56
tetradic
#56751F #1F7569 #3E1F75 #751F2B
square
#56751F #1F7569 #3E1F75 #751F2B
split-complementary
#56751F #1F2B75 #691F75
monochromatic
#121806 #324512 #56751F #7AA52C #9BCD42

Accessibility & contrast

On white

5.30
#56751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #56751F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56751F#FFFFFF#000000##FFFFFF
##56751F1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D11
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#596F64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #56751f;
/* rgb */ color: rgb(86, 117, 31);
/* oklch */ color: oklch(52.0% 0.118 127.4);
Tailwind
colors: {
  custom: {
    50: '#899d61',
    500: '#56751f',
    950: '#000000',
  },
}
SCSS
$custom: #56751f;
$custom-light: #899d61;
$custom-dark: #000000;
JSON
{
  "hex": "#56751f",
  "rgb": {
    "r": 86,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 81.628,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.11773,
    "h": 127.4
  },
  "luminance": 0.148
}

Semantic roles & 50–950 ramp

primary
#56751F
secondary
#6A47A9
accent
#46E17E
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56751F

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

Preview Lab → · Contrast checker → · Palette generator →

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