#645D1A#645D1A

#645D1A is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 47.1% C 0.086 H 103.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#645D1A
RGBrgb(100, 93, 26)
HSLhsl(54, 59%, 25%)
HSVhsv(54, 74%, 39%)
CMYKcmyk(0%, 7%, 74%, 60.8%)
CIE-LABlab(38.92, -5.86, 37.60)
CIE-LCHlch(38.92, 38.05, 98.86°)
OKLaboklab(47.15% -0.0198 0.0838)
OKLCHoklch(47.15% 0.086 103.3)
XYZxyz(9.3567, 10.6130, 2.5327)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645D1A #1A2164
analogous
#64381A #645D1A #46641A
triadic
#645D1A #1A645D #5D1A64
tetradic
#645D1A #1A6438 #1A2164 #641A46
square
#645D1A #1A6438 #1A2164 #641A46
split-complementary
#645D1A #1A4664 #381A64
monochromatic
#181706 #33300D #645D1A #958A27 #C5B733

Accessibility & contrast

On white

6.73
#645D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#645D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645D1A
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645D1A#FFFFFF#000000##FFFFFF
##645D1A1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A10
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#6C5650
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645d1a;
/* rgb */ color: rgb(100, 93, 26);
/* oklch */ color: oklch(47.1% 0.086 103.3);
Tailwind
colors: {
  custom: {
    50: '#938a5b',
    500: '#645d1a',
    950: '#000000',
  },
}
SCSS
$custom: #645d1a;
$custom-light: #938a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#645d1a",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 26
  },
  "hsl": {
    "h": 54.324,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47145,
    "c": 0.08615,
    "h": 103.3
  },
  "luminance": 0.10613
}

Semantic roles & 50–950 ramp

primary
#645D1A
secondary
#40499A
accent
#55E246
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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