#645C1E#645C1E

#645C1E is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 46.9% C 0.082 H 101.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#645C1E
RGBrgb(100, 92, 30)
HSLhsl(53, 54%, 25%)
HSVhsv(53, 70%, 39%)
CMYKcmyk(0%, 8%, 70%, 60.8%)
CIE-LABlab(38.65, -5.02, 35.51)
CIE-LCHlch(38.65, 35.86, 98.05°)
OKLaboklab(46.94% -0.0169 0.0802)
OKLCHoklch(46.94% 0.082 101.9)
XYZxyz(9.3174, 10.4577, 2.7558)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C1E #1E2664
analogous
#64391E #645C1E #49641E
triadic
#645C1E #1E645C #5C1E64
tetradic
#645C1E #1E6439 #1E2664 #641E49
square
#645C1E #1E6439 #1E2664 #641E49
split-complementary
#645C1E #1E4964 #391E64
monochromatic
#181607 #353110 #645C1E #93872C #C2B33A

Accessibility & contrast

On white

6.79
#645C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645C1E
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C1E#FFFFFF#000000##FFFFFF
##645C1E1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645c1e;
/* rgb */ color: rgb(100, 92, 30);
/* oklch */ color: oklch(46.9% 0.082 101.9);
Tailwind
colors: {
  custom: {
    50: '#93895d',
    500: '#645c1e',
    950: '#000000',
  },
}
SCSS
$custom: #645c1e;
$custom-light: #93895d;
$custom-dark: #000000;
JSON
{
  "hex": "#645c1e",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 30
  },
  "hsl": {
    "h": 53.143,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46942,
    "c": 0.08195,
    "h": 101.9
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#645C1E
secondary
#454F99
accent
#5BDD4B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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