#645C1A#645C1A

#645C1A is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.9% C 0.085 H 102.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#645C1A
RGBrgb(100, 92, 26)
HSLhsl(54, 59%, 25%)
HSVhsv(54, 74%, 39%)
CMYKcmyk(0%, 8%, 74%, 60.8%)
CIE-LABlab(38.62, -5.27, 37.30)
CIE-LCHlch(38.62, 37.67, 98.05°)
OKLaboklab(46.91% -0.0181 0.0832)
OKLCHoklch(46.91% 0.085 102.3)
XYZxyz(9.2695, 10.4386, 2.5037)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C1A #1A2264
analogous
#64371A #645C1A #47641A
triadic
#645C1A #1A645C #5C1A64
tetradic
#645C1A #1A6437 #1A2264 #641A47
square
#645C1A #1A6437 #1A2264 #641A47
split-complementary
#645C1A #1A4764 #371A64
monochromatic
#181606 #332F0D #645C1A #958927 #C5B533

Accessibility & contrast

On white

6.80
#645C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#645C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645C1A
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C1A#FFFFFF#000000##FFFFFF
##645C1A1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655910
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#6C554F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645c1a;
/* rgb */ color: rgb(100, 92, 26);
/* oklch */ color: oklch(46.9% 0.085 102.3);
Tailwind
colors: {
  custom: {
    50: '#93895b',
    500: '#645c1a',
    950: '#000000',
  },
}
SCSS
$custom: #645c1a;
$custom-light: #93895b;
$custom-dark: #000000;
JSON
{
  "hex": "#645c1a",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 26
  },
  "hsl": {
    "h": 53.514,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46905,
    "c": 0.08516,
    "h": 102.3
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#645C1A
secondary
#404A9A
accent
#57E246
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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