#645B1A#645B1A

#645B1A is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.7% C 0.084 H 101.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#645B1A
RGBrgb(100, 91, 26)
HSLhsl(53, 59%, 25%)
HSVhsv(53, 74%, 39%)
CMYKcmyk(0%, 9%, 74%, 60.8%)
CIE-LABlab(38.32, -4.69, 36.99)
CIE-LCHlch(38.32, 37.29, 97.22°)
OKLaboklab(46.67% -0.0165 0.0826)
OKLCHoklch(46.67% 0.084 101.3)
XYZxyz(9.1835, 10.2665, 2.4750)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B1A #1A2364
analogous
#64361A #645B1A #48641A
triadic
#645B1A #1A645B #5B1A64
tetradic
#645B1A #1A6436 #1A2364 #641A48
square
#645B1A #1A6436 #1A2364 #641A48
split-complementary
#645B1A #1A4864 #361A64
monochromatic
#181606 #332F0D #645B1A #958727 #C5B333

Accessibility & contrast

On white

6.88
#645B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#645B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645B1A
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645B1A#FFFFFF#000000##FFFFFF
##645B1A1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645810
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#6C544E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645b1a;
/* rgb */ color: rgb(100, 91, 26);
/* oklch */ color: oklch(46.7% 0.084 101.3);
Tailwind
colors: {
  custom: {
    50: '#93895b',
    500: '#645b1a',
    950: '#000000',
  },
}
SCSS
$custom: #645b1a;
$custom-light: #93895b;
$custom-dark: #000000;
JSON
{
  "hex": "#645b1a",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 26
  },
  "hsl": {
    "h": 52.703,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46665,
    "c": 0.0842,
    "h": 101.3
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#645B1A
secondary
#404B9A
accent
#59E246
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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