#656A18#656A18

#656A18 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.4% C 0.102 H 113.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#656A18
RGBrgb(101, 106, 24)
HSLhsl(64, 63%, 25%)
HSVhsv(64, 77%, 42%)
CMYKcmyk(4.7%, 0%, 77.4%, 58.4%)
CIE-LABlab(42.97, -12.88, 42.39)
CIE-LCHlch(42.97, 44.30, 106.90°)
OKLaboklab(50.4% -0.0398 0.0935)
OKLCHoklch(50.4% 0.102 113)
XYZxyz(10.6861, 13.1410, 2.8375)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656A18 #1D186A
analogous
#6A4618 #656A18 #3C6A18
triadic
#656A18 #18656A #6A1865
tetradic
#656A18 #186A46 #1D186A #6A183C
square
#656A18 #186A46 #1D186A #6A183C
split-complementary
#656A18 #183C6A #46186A
monochromatic
#181906 #35380D #656A18 #959C23 #C4CE2F

Accessibility & contrast

On white

5.79
#656A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#656A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656A18
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656A18#FFFFFF#000000##FFFFFF
##656A181.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726507
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#6C635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #656a18;
/* rgb */ color: rgb(101, 106, 24);
/* oklch */ color: oklch(50.4% 0.102 113.0);
Tailwind
colors: {
  custom: {
    50: '#94945c',
    500: '#656a18',
    950: '#000000',
  },
}
SCSS
$custom: #656a18;
$custom-light: #94945c;
$custom-dark: #000000;
JSON
{
  "hex": "#656a18",
  "rgb": {
    "r": 101,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 63.659,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.10163,
    "h": 113
  },
  "luminance": 0.13141
}

Semantic roles & 50–950 ramp

primary
#656A18
secondary
#443EA0
accent
#42E64C
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #656A18

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

Preview Lab → · Contrast checker → · Palette generator →

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