#656917#656917

#656917 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.1% C 0.101 H 112.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#656917
RGBrgb(101, 105, 23)
HSLhsl(63, 64%, 25%)
HSVhsv(63, 78%, 41%)
CMYKcmyk(3.8%, 0%, 78.1%, 58.8%)
CIE-LABlab(42.66, -12.38, 42.46)
CIE-LCHlch(42.66, 44.23, 106.25°)
OKLaboklab(50.15% -0.0385 0.0935)
OKLCHoklch(50.15% 0.101 112.4)
XYZxyz(10.5734, 12.9320, 2.7496)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656917 #1B1769
analogous
#694417 #656917 #3C6917
triadic
#656917 #176569 #691765
tetradic
#656917 #176944 #1B1769 #69173C
square
#656917 #176944 #1B1769 #69173C
split-complementary
#656917 #173C69 #441769
monochromatic
#181905 #35370C #656917 #959B22 #C6CD2D

Accessibility & contrast

On white

5.86
#656917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#656917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656917
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656917#FFFFFF#000000##FFFFFF
##6569171.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#6C6259
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #656917;
/* rgb */ color: rgb(101, 105, 23);
/* oklch */ color: oklch(50.1% 0.101 112.4);
Tailwind
colors: {
  custom: {
    50: '#94935b',
    500: '#656917',
    950: '#000000',
  },
}
SCSS
$custom: #656917;
$custom-light: #94935b;
$custom-dark: #000000;
JSON
{
  "hex": "#656917",
  "rgb": {
    "r": 101,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 62.927,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.1011,
    "h": 112.4
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#656917
secondary
#413D9F
accent
#41E749
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #656917

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

Preview Lab → · Contrast checker → · Palette generator →

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