#645A1B#645A1B

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

Color values

HEX#645A1B
RGBrgb(100, 90, 27)
HSLhsl(52, 57%, 25%)
HSVhsv(52, 73%, 39%)
CMYKcmyk(0%, 10%, 73%, 60.8%)
CIE-LABlab(38.02, -4.04, 36.25)
CIE-LCHlch(38.02, 36.47, 96.36°)
OKLaboklab(46.43% -0.0145 0.0812)
OKLCHoklch(46.43% 0.082 100.1)
XYZxyz(9.1099, 10.1012, 2.5066)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A1B #1B2564
analogous
#64361B #645A1B #49641B
triadic
#645A1B #1B645A #5A1B64
tetradic
#645A1B #1B6436 #1B2564 #641B49
square
#645A1B #1B6436 #1B2564 #641B49
split-complementary
#645A1B #1B4964 #361B64
monochromatic
#181607 #342F0E #645A1B #948528 #C4B135

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645A1B#FFFFFF#000000##FFFFFF
##645A1B1.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)
#635712
Deuteranopia (green-blind)
#665B1F
Tritanopia (blue-blind)
#6C534D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #645a1b;
/* rgb */ color: rgb(100, 90, 27);
/* oklch */ color: oklch(46.4% 0.082 100.1);
Tailwind
colors: {
  custom: {
    50: '#93885b',
    500: '#645a1b',
    950: '#000000',
  },
}
SCSS
$custom: #645a1b;
$custom-light: #93885b;
$custom-dark: #000000;
JSON
{
  "hex": "#645a1b",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 27
  },
  "hsl": {
    "h": 51.781,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46435,
    "c": 0.08249,
    "h": 100.1
  },
  "luminance": 0.10101
}

Semantic roles & 50–950 ramp

primary
#645A1B
secondary
#414D99
accent
#5CE147
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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