#656B18#656B18

#656B18 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.103 H 113.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#656B18
RGBrgb(101, 107, 24)
HSLhsl(64, 63%, 26%)
HSVhsv(64, 78%, 42%)
CMYKcmyk(5.6%, 0%, 77.6%, 58%)
CIE-LABlab(43.28, -13.43, 42.68)
CIE-LCHlch(43.28, 44.74, 107.47°)
OKLaboklab(50.65% -0.0413 0.0942)
OKLCHoklch(50.65% 0.103 113.7)
XYZxyz(10.7897, 13.3483, 2.8721)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656B18 #1E186B
analogous
#6B4718 #656B18 #3B6B18
triadic
#656B18 #18656B #6B1865
tetradic
#656B18 #186B47 #1E186B #6B183B
square
#656B18 #186B47 #1E186B #6B183B
split-complementary
#656B18 #183B6B #47186B
monochromatic
#181906 #36390D #656B18 #949D23 #C3CF2E

Accessibility & contrast

On white

5.72
#656B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#656B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656B18
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656B18#FFFFFF#000000##FFFFFF
##656B181.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736507
Deuteranopia (green-blind)
#73671F
Tritanopia (blue-blind)
#6C645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #656b18;
/* rgb */ color: rgb(101, 107, 24);
/* oklch */ color: oklch(50.6% 0.103 113.7);
Tailwind
colors: {
  custom: {
    50: '#94955c',
    500: '#656b18',
    950: '#000000',
  },
}
SCSS
$custom: #656b18;
$custom-light: #94955c;
$custom-dark: #000000;
JSON
{
  "hex": "#656b18",
  "rgb": {
    "r": 101,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 64.337,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50646,
    "c": 0.10281,
    "h": 113.7
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#656B18
secondary
#453EA1
accent
#41E64D
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #656B18

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

Preview Lab → · Contrast checker → · Palette generator →

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