#656818#656818

#656818 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.9% C 0.099 H 111.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#656818
RGBrgb(101, 104, 24)
HSLhsl(62, 63%, 25%)
HSVhsv(62, 77%, 41%)
CMYKcmyk(2.9%, 0%, 76.9%, 59.2%)
CIE-LABlab(42.36, -11.77, 41.80)
CIE-LCHlch(42.36, 43.43, 105.72°)
OKLaboklab(49.91% -0.0367 0.0923)
OKLCHoklch(49.91% 0.099 111.7)
XYZxyz(10.4824, 12.7335, 2.7696)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656818 #1B1868
analogous
#684318 #656818 #3D6818
triadic
#656818 #186568 #681865
tetradic
#656818 #186843 #1B1868 #68183D
square
#656818 #186843 #1B1868 #68183D
split-complementary
#656818 #183D68 #431868
monochromatic
#181906 #35360D #656818 #959A23 #C6CB2F

Accessibility & contrast

On white

5.92
#656818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#656818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656818
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656818#FFFFFF#000000##FFFFFF
##6568181.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716308
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#6C6159
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #656818;
/* rgb */ color: rgb(101, 104, 24);
/* oklch */ color: oklch(49.9% 0.099 111.7);
Tailwind
colors: {
  custom: {
    50: '#94925c',
    500: '#656818',
    950: '#000000',
  },
}
SCSS
$custom: #656818;
$custom-light: #94925c;
$custom-dark: #000000;
JSON
{
  "hex": "#656818",
  "rgb": {
    "r": 101,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 62.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.0993,
    "h": 111.7
  },
  "luminance": 0.12733
}

Semantic roles & 50–950 ramp

primary
#656818
secondary
#413E9E
accent
#42E648
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #656818

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

Preview Lab → · Contrast checker → · Palette generator →

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