#645216#645216

#645216 is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.5% C 0.080 H 91.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#645216
RGBrgb(100, 82, 22)
HSLhsl(46, 64%, 24%)
HSVhsv(46, 78%, 39%)
CMYKcmyk(0%, 18%, 78%, 60.8%)
CIE-LABlab(35.60, 0.46, 36.07)
CIE-LCHlch(35.60, 36.07, 89.27°)
OKLaboklab(44.51% -0.0023 0.0798)
OKLCHoklch(44.51% 0.08 91.7)
XYZxyz(8.4181, 8.8023, 2.0145)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645216 #162864
analogous
#642B16 #645216 #4F6416
triadic
#645216 #166452 #521664
tetradic
#645216 #16642B #162864 #64164F
square
#645216 #16642B #162864 #64164F
split-complementary
#645216 #164F64 #2B1664
monochromatic
#191506 #32290B #645216 #967B21 #C8A42C

Accessibility & contrast

On white

7.61
#645216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#645216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645216
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645216#FFFFFF#000000##FFFFFF
##6452161.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510D
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#6D4B46
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #645216;
/* rgb */ color: rgb(100, 82, 22);
/* oklch */ color: oklch(44.5% 0.080 91.7);
Tailwind
colors: {
  custom: {
    50: '#938258',
    500: '#645216',
    950: '#000000',
  },
}
SCSS
$custom: #645216;
$custom-light: #938258;
$custom-dark: #000000;
JSON
{
  "hex": "#645216",
  "rgb": {
    "r": 100,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 46.154,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44505,
    "c": 0.07982,
    "h": 91.7
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#645216
secondary
#3B519B
accent
#67E741
background
#F9F7F5
surface
#F2EEE9
border
#CCC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #645216

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

Preview Lab → · Contrast checker → · Palette generator →

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