#656918#656918

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

Color values

HEX#656918
RGBrgb(101, 105, 24)
HSLhsl(63, 63%, 25%)
HSVhsv(63, 77%, 41%)
CMYKcmyk(3.8%, 0%, 77.1%, 58.8%)
CIE-LABlab(42.67, -12.33, 42.09)
CIE-LCHlch(42.67, 43.86, 106.32°)
OKLaboklab(50.15% -0.0382 0.0929)
OKLCHoklch(50.15% 0.1 112.4)
XYZxyz(10.5836, 12.9361, 2.8034)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656918 #1C1869
analogous
#694418 #656918 #3C6918
triadic
#656918 #186569 #691865
tetradic
#656918 #186944 #1C1869 #69183C
square
#656918 #186944 #1C1869 #69183C
split-complementary
#656918 #183C69 #441869
monochromatic
#181906 #35370D #656918 #959B23 #C5CD2F

Accessibility & contrast

On white

5.85
#656918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #656918
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656918#FFFFFF#000000##FFFFFF
##6569181.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #656918;
/* rgb */ color: rgb(101, 105, 24);
/* oklch */ color: oklch(50.2% 0.100 112.4);
Tailwind
colors: {
  custom: {
    50: '#94935c',
    500: '#656918',
    950: '#000000',
  },
}
SCSS
$custom: #656918;
$custom-light: #94935c;
$custom-dark: #000000;
JSON
{
  "hex": "#656918",
  "rgb": {
    "r": 101,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 62.963,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.10046,
    "h": 112.4
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#656918
secondary
#433E9F
accent
#42E64A
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #656918

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

Preview Lab → · Contrast checker → · Palette generator →

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