#656217#656217

#656217 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.4% C 0.093 H 107.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#656217
RGBrgb(101, 98, 23)
HSLhsl(58, 63%, 24%)
HSVhsv(58, 77%, 40%)
CMYKcmyk(0%, 3%, 77.2%, 60.4%)
CIE-LABlab(40.52, -8.43, 40.43)
CIE-LCHlch(40.52, 41.30, 101.78°)
OKLaboklab(48.43% -0.0274 0.0892)
OKLCHoklch(48.43% 0.093 107.1)
XYZxyz(9.8896, 11.5643, 2.5216)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656217 #171A65
analogous
#653B17 #656217 #416517
triadic
#656217 #176562 #621765
tetradic
#656217 #17653B #171A65 #651741
square
#656217 #17653B #171A65 #651741
split-complementary
#656217 #174165 #3B1765
monochromatic
#191806 #33320C #656217 #979222 #C9C32E

Accessibility & contrast

On white

6.34
#656217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#656217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656217
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656217#FFFFFF#000000##FFFFFF
##6562171.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#6C611D
Tritanopia (blue-blind)
#6D5B54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #656217;
/* rgb */ color: rgb(101, 98, 23);
/* oklch */ color: oklch(48.4% 0.093 107.1);
Tailwind
colors: {
  custom: {
    50: '#948e5a',
    500: '#656217',
    950: '#000000',
  },
}
SCSS
$custom: #656217;
$custom-light: #948e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#656217",
  "rgb": {
    "r": 101,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 57.692,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48431,
    "c": 0.09332,
    "h": 107.1
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#656217
secondary
#3C409B
accent
#48E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #656217

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

Preview Lab → · Contrast checker → · Palette generator →

#656217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva