#656F17#656F17

#656F17 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.6% C 0.108 H 116.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#656F17
RGBrgb(101, 111, 23)
HSLhsl(67, 66%, 26%)
HSVhsv(67, 79%, 44%)
CMYKcmyk(9%, 0%, 79.3%, 56.5%)
CIE-LABlab(44.52, -15.67, 44.20)
CIE-LCHlch(44.52, 46.89, 109.52°)
OKLaboklab(51.63% -0.0476 0.0972)
OKLCHoklch(51.63% 0.108 116.1)
XYZxyz(11.2062, 14.1976, 2.9605)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656F17 #21176F
analogous
#6F4D17 #656F17 #396F17
triadic
#656F17 #17656F #6F1765
tetradic
#656F17 #176F4D #21176F #6F1739
square
#656F17 #176F4D #21176F #6F1739
split-complementary
#656F17 #17396F #4D176F
monochromatic
#171905 #373C0C #656F17 #93A222 #C1D32D

Accessibility & contrast

On white

5.47
#656F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#656F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656F17
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656F17#FFFFFF#000000##FFFFFF
##656F171.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776903
Deuteranopia (green-blind)
#766A1F
Tritanopia (blue-blind)
#6C685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #656f17;
/* rgb */ color: rgb(101, 111, 23);
/* oklch */ color: oklch(51.6% 0.108 116.1);
Tailwind
colors: {
  custom: {
    50: '#94985c',
    500: '#656f17',
    950: '#000000',
  },
}
SCSS
$custom: #656f17;
$custom-light: #94985c;
$custom-dark: #000000;
JSON
{
  "hex": "#656f17",
  "rgb": {
    "r": 101,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 66.818,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51632,
    "c": 0.10819,
    "h": 116.1
  },
  "luminance": 0.14197
}

Semantic roles & 50–950 ramp

primary
#656F17
secondary
#493DA5
accent
#3FE952
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #656F17

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

Preview Lab → · Contrast checker → · Palette generator →

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