#656B21#656B21

#656B21 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.7% C 0.096 H 113.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#656B21
RGBrgb(101, 107, 33)
HSLhsl(65, 53%, 27%)
HSVhsv(65, 69%, 42%)
CMYKcmyk(5.6%, 0%, 69.2%, 58%)
CIE-LABlab(43.35, -12.89, 39.04)
CIE-LCHlch(43.35, 41.12, 108.28°)
OKLaboklab(50.72% -0.0388 0.0881)
OKLCHoklch(50.72% 0.096 113.8)
XYZxyz(10.8993, 13.3921, 3.4493)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656B21 #27216B
analogous
#6B4C21 #656B21 #406B21
triadic
#656B21 #21656B #6B2165
tetradic
#656B21 #216B4C #27216B #6B2140
square
#656B21 #216B4C #27216B #6B2140
split-complementary
#656B21 #21406B #4C216B
monochromatic
#161707 #393C13 #656B21 #919A2F #BAC542

Accessibility & contrast

On white

5.71
#656B21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#656B21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656B21
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656B21#FFFFFF#000000##FFFFFF
##656B211.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736617
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#6C655C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #656b21;
/* rgb */ color: rgb(101, 107, 33);
/* oklch */ color: oklch(50.7% 0.096 113.8);
Tailwind
colors: {
  custom: {
    50: '#939561',
    500: '#656b21',
    950: '#000000',
  },
}
SCSS
$custom: #656b21;
$custom-light: #939561;
$custom-dark: #000000;
JSON
{
  "hex": "#656b21",
  "rgb": {
    "r": 101,
    "g": 107,
    "b": 33
  },
  "hsl": {
    "h": 64.865,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.09632,
    "h": 113.8
  },
  "luminance": 0.13392
}

Semantic roles & 50–950 ramp

primary
#656B21
secondary
#50499F
accent
#4CDC57
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #656B21

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

Preview Lab → · Contrast checker → · Palette generator →

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