#56741F#56741F

#56741F is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 51.8% C 0.116 H 127.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#56741F
RGBrgb(86, 116, 31)
HSLhsl(81, 58%, 29%)
HSVhsv(81, 73%, 45%)
CMYKcmyk(25.9%, 0%, 73.3%, 54.5%)
CIE-LABlab(45.04, -24.47, 41.26)
CIE-LCHlch(45.04, 47.97, 120.67°)
OKLaboklab(51.79% -0.0701 0.0929)
OKLCHoklch(51.79% 0.116 127.1)
XYZxyz(10.3305, 14.5680, 3.5637)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56741F #3D1F74
analogous
#74681F #56741F #2C741F
triadic
#56741F #1F5674 #741F56
tetradic
#56741F #1F7468 #3D1F74 #741F2C
square
#56741F #1F7468 #3D1F74 #741F2C
split-complementary
#56741F #1F2C74 #681F74
monochromatic
#121806 #324412 #56741F #7AA42C #9BCC41

Accessibility & contrast

On white

5.37
#56741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#56741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56741F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56741F#FFFFFF#000000##FFFFFF
##56741F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C11
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#596E63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #56741f;
/* rgb */ color: rgb(86, 116, 31);
/* oklch */ color: oklch(51.8% 0.116 127.1);
Tailwind
colors: {
  custom: {
    50: '#899c60',
    500: '#56741f',
    950: '#000000',
  },
}
SCSS
$custom: #56741f;
$custom-light: #899c60;
$custom-dark: #000000;
JSON
{
  "hex": "#56741f",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 81.176,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.11636,
    "h": 127.1
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#56741F
secondary
#6947A8
accent
#47E17D
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56741F

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

Preview Lab → · Contrast checker → · Palette generator →

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