#645A1D#645A1D

#645A1D is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.5% C 0.081 H 99.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#645A1D
RGBrgb(100, 90, 29)
HSLhsl(52, 55%, 25%)
HSVhsv(52, 71%, 39%)
CMYKcmyk(0%, 10%, 71%, 60.8%)
CIE-LABlab(38.04, -3.91, 35.34)
CIE-LCHlch(38.04, 35.56, 96.32°)
OKLaboklab(46.45% -0.0139 0.0797)
OKLCHoklch(46.45% 0.081 99.9)
XYZxyz(9.1339, 10.1108, 2.6326)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A1D #1D2764
analogous
#64361D #645A1D #4B641D
triadic
#645A1D #1D645A #5A1D64
tetradic
#645A1D #1D6436 #1D2764 #641D4B
square
#645A1D #1D6436 #1D2764 #641D4B
split-complementary
#645A1D #1D4B64 #361D64
monochromatic
#181507 #352F0F #645A1D #93852B #C3AF39

Accessibility & contrast

On white

6.95
#645A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#645A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A1D
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A1D#FFFFFF#000000##FFFFFF
##645A1D1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635715
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#6C534D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645a1d;
/* rgb */ color: rgb(100, 90, 29);
/* oklch */ color: oklch(46.5% 0.081 99.9);
Tailwind
colors: {
  custom: {
    50: '#93885d',
    500: '#645a1d',
    950: '#000000',
  },
}
SCSS
$custom: #645a1d;
$custom-light: #93885d;
$custom-dark: #000000;
JSON
{
  "hex": "#645a1d",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 29
  },
  "hsl": {
    "h": 51.549,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46454,
    "c": 0.08085,
    "h": 99.9
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#645A1D
secondary
#445099
accent
#5EDE49
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645A1D

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

Preview Lab → · Contrast checker → · Palette generator →

#645A1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva