#656A17#656A17

#656A17 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.4% C 0.102 H 113.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#656A17
RGBrgb(101, 106, 23)
HSLhsl(64, 64%, 25%)
HSVhsv(64, 78%, 42%)
CMYKcmyk(4.7%, 0%, 78.3%, 58.4%)
CIE-LABlab(42.97, -12.93, 42.75)
CIE-LCHlch(42.97, 44.66, 106.83°)
OKLaboklab(50.39% -0.04 0.0941)
OKLCHoklch(50.39% 0.102 113)
XYZxyz(10.6759, 13.1369, 2.7837)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656A17 #1C176A
analogous
#6A4517 #656A17 #3C6A17
triadic
#656A17 #17656A #6A1765
tetradic
#656A17 #176A45 #1C176A #6A173C
square
#656A17 #176A45 #1C176A #6A173C
split-complementary
#656A17 #173C6A #45176A
monochromatic
#181905 #35380C #656A17 #959C22 #C5CF2D

Accessibility & contrast

On white

5.79
#656A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#656A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656A17
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656A17#FFFFFF#000000##FFFFFF
##656A171.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726505
Deuteranopia (green-blind)
#73661E
Tritanopia (blue-blind)
#6C635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #656a17;
/* rgb */ color: rgb(101, 106, 23);
/* oklch */ color: oklch(50.4% 0.102 113.0);
Tailwind
colors: {
  custom: {
    50: '#94945b',
    500: '#656a17',
    950: '#000000',
  },
}
SCSS
$custom: #656a17;
$custom-light: #94945b;
$custom-dark: #000000;
JSON
{
  "hex": "#656a17",
  "rgb": {
    "r": 101,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 63.614,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50392,
    "c": 0.10226,
    "h": 113
  },
  "luminance": 0.13137
}

Semantic roles & 50–950 ramp

primary
#656A17
secondary
#433DA0
accent
#40E74B
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #656A17

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

Preview Lab → · Contrast checker → · Palette generator →

#656A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva