#645D1B#645D1B

#645D1B is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 47.2% C 0.085 H 103.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#645D1B
RGBrgb(100, 93, 27)
HSLhsl(54, 57%, 25%)
HSVhsv(54, 73%, 39%)
CMYKcmyk(0%, 7%, 73%, 60.8%)
CIE-LABlab(38.93, -5.80, 37.17)
CIE-LCHlch(38.93, 37.62, 98.87°)
OKLaboklab(47.15% -0.0195 0.0831)
OKLCHoklch(47.15% 0.085 103.2)
XYZxyz(9.3681, 10.6175, 2.5926)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645D1B #1B2264
analogous
#64391B #645D1B #46641B
triadic
#645D1B #1B645D #5D1B64
tetradic
#645D1B #1B6439 #1B2264 #641B46
square
#645D1B #1B6439 #1B2264 #641B46
split-complementary
#645D1B #1B4664 #391B64
monochromatic
#181607 #34300E #645D1B #948A28 #C4B735

Accessibility & contrast

On white

6.72
#645D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#645D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645D1B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645D1B#FFFFFF#000000##FFFFFF
##645D1B1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A11
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#6C5650
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645d1b;
/* rgb */ color: rgb(100, 93, 27);
/* oklch */ color: oklch(47.2% 0.085 103.2);
Tailwind
colors: {
  custom: {
    50: '#938a5c',
    500: '#645d1b',
    950: '#000000',
  },
}
SCSS
$custom: #645d1b;
$custom-light: #938a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#645d1b",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 27
  },
  "hsl": {
    "h": 54.247,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47154,
    "c": 0.08539,
    "h": 103.2
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

primary
#645D1B
secondary
#414A99
accent
#56E147
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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