#656B22#656B22

#656B22 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#656B22
RGBrgb(101, 107, 34)
HSLhsl(65, 52%, 28%)
HSVhsv(65, 68%, 42%)
CMYKcmyk(5.6%, 0%, 68.2%, 58%)
CIE-LABlab(43.36, -12.83, 38.60)
CIE-LCHlch(43.36, 40.68, 108.38°)
OKLaboklab(50.73% -0.0385 0.0874)
OKLCHoklch(50.73% 0.096 113.8)
XYZxyz(10.9135, 13.3978, 3.5242)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656B22 #28226B
analogous
#6B4D22 #656B22 #406B22
triadic
#656B22 #22656B #6B2265
tetradic
#656B22 #226B4D #28226B #6B2240
square
#656B22 #226B4D #28226B #6B2240
split-complementary
#656B22 #22406B #4D226B
monochromatic
#161707 #393D13 #656B22 #919931 #B9C444

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##656B22#FFFFFF#000000##FFFFFF
##656B221.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)
#736618
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#6C655C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #656b22;
/* rgb */ color: rgb(101, 107, 34);
/* oklch */ color: oklch(50.7% 0.096 113.8);
Tailwind
colors: {
  custom: {
    50: '#939561',
    500: '#656b22',
    950: '#000000',
  },
}
SCSS
$custom: #656b22;
$custom-light: #939561;
$custom-dark: #000000;
JSON
{
  "hex": "#656b22",
  "rgb": {
    "r": 101,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 64.932,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.0955,
    "h": 113.8
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#656B22
secondary
#514A9F
accent
#4DDB58
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #656B22

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

Preview Lab → · Contrast checker → · Palette generator →

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