#645A1E#645A1E

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

Color values

HEX#645A1E
RGBrgb(100, 90, 30)
HSLhsl(51, 54%, 25%)
HSVhsv(51, 70%, 39%)
CMYKcmyk(0%, 10%, 70%, 60.8%)
CIE-LABlab(38.05, -3.85, 34.88)
CIE-LCHlch(38.05, 35.09, 96.29°)
OKLaboklab(46.46% -0.0136 0.0789)
OKLCHoklch(46.46% 0.08 99.8)
XYZxyz(9.1464, 10.1158, 2.6988)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A1E #1E2864
analogous
#64371E #645A1E #4B641E
triadic
#645A1E #1E645A #5A1E64
tetradic
#645A1E #1E6437 #1E2864 #641E4B
square
#645A1E #1E6437 #1E2864 #641E4B
split-complementary
#645A1E #1E4B64 #371E64
monochromatic
#181507 #353010 #645A1E #93842C #C2AF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645A1E#FFFFFF#000000##FFFFFF
##645A1E1.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)
#635716
Deuteranopia (green-blind)
#665B21
Tritanopia (blue-blind)
#6C534E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645a1e;
/* rgb */ color: rgb(100, 90, 30);
/* oklch */ color: oklch(46.5% 0.080 99.8);
Tailwind
colors: {
  custom: {
    50: '#93885d',
    500: '#645a1e',
    950: '#000000',
  },
}
SCSS
$custom: #645a1e;
$custom-light: #93885d;
$custom-dark: #000000;
JSON
{
  "hex": "#645a1e",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 30
  },
  "hsl": {
    "h": 51.429,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46464,
    "c": 0.08001,
    "h": 99.8
  },
  "luminance": 0.10115
}

Semantic roles & 50–950 ramp

primary
#645A1E
secondary
#455199
accent
#60DD4B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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