#56660F#56660F

#56660F is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 48.0% C 0.108 H 120.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#56660F
RGBrgb(86, 102, 15)
HSLhsl(71, 74%, 23%)
HSVhsv(71, 85%, 40%)
CMYKcmyk(15.7%, 0%, 85.3%, 60%)
CIE-LABlab(40.44, -18.13, 42.68)
CIE-LCHlch(40.44, 46.38, 113.02°)
OKLaboklab(48.03% -0.0541 0.093)
OKLCHoklch(48.03% 0.108 120.2)
XYZxyz(8.6755, 11.5157, 2.2176)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56660F #1F0F66
analogous
#664A0F #56660F #2B660F
triadic
#56660F #0F5666 #660F56
tetradic
#56660F #0F664A #1F0F66 #660F2B
square
#56660F #0F664A #1F0F66 #660F2B
split-complementary
#56660F #0F2B66 #4A0F66
monochromatic
#161B04 #293107 #56660F #839B17 #B0D11F

Accessibility & contrast

On white

6.36
#56660F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#56660F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56660F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56660F#FFFFFF#000000##FFFFFF
##56660F1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#6B5F18
Tritanopia (blue-blind)
#5B6056
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #56660f;
/* rgb */ color: rgb(86, 102, 15);
/* oklch */ color: oklch(48.0% 0.108 120.2);
Tailwind
colors: {
  custom: {
    50: '#899157',
    500: '#56660f',
    950: '#000000',
  },
}
SCSS
$custom: #56660f;
$custom-light: #899157;
$custom-dark: #000000;
JSON
{
  "hex": "#56660f",
  "rgb": {
    "r": 86,
    "g": 102,
    "b": 15
  },
  "hsl": {
    "h": 71.034,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.48034,
    "c": 0.10762,
    "h": 120.2
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#56660F
secondary
#46329F
accent
#37F159
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #56660F

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

Preview Lab → · Contrast checker → · Palette generator →

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