#56702F#56702F

#56702F is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 50.9% C 0.097 H 127.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#56702F
RGBrgb(86, 112, 47)
HSLhsl(84, 41%, 31%)
HSVhsv(84, 58%, 44%)
CMYKcmyk(23.2%, 0%, 58%, 56.1%)
CIE-LABlab(43.90, -21.03, 32.57)
CIE-LCHlch(43.90, 38.77, 122.85°)
OKLaboklab(50.92% -0.0591 0.0766)
OKLCHoklch(50.92% 0.097 127.7)
XYZxyz(10.1450, 13.7718, 4.8125)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56702F #492F70
analogous
#70692F #56702F #35702F
triadic
#56702F #2F5670 #702F56
tetradic
#56702F #2F7069 #492F70 #702F35
square
#56702F #2F7069 #492F70 #702F35
split-complementary
#56702F #2F3570 #692F70
monochromatic
#141A0B #35451D #56702F #779B41 #96BB5E

Accessibility & contrast

On white

5.59
#56702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#56702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56702F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56702F#FFFFFF#000000##FFFFFF
##56702F1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756929
Deuteranopia (green-blind)
#726733
Tritanopia (blue-blind)
#596B62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #56702f;
/* rgb */ color: rgb(86, 112, 47);
/* oklch */ color: oklch(50.9% 0.097 127.7);
Tailwind
colors: {
  custom: {
    50: '#87996a',
    500: '#56702f',
    950: '#000000',
  },
}
SCSS
$custom: #56702f;
$custom-light: #87996a;
$custom-dark: #000000;
JSON
{
  "hex": "#56702f",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 84,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.09672,
    "h": 127.7
  },
  "luminance": 0.13772
}

Semantic roles & 50–950 ramp

primary
#56702F
secondary
#765AA1
accent
#57D188
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #56702F

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

Preview Lab → · Contrast checker → · Palette generator →

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