#645E1A#645E1A

#645E1A is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.4% C 0.087 H 104.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#645E1A
RGBrgb(100, 94, 26)
HSLhsl(55, 59%, 25%)
HSVhsv(55, 74%, 39%)
CMYKcmyk(0%, 6%, 74%, 60.8%)
CIE-LABlab(39.22, -6.44, 37.90)
CIE-LCHlch(39.22, 38.44, 99.64°)
OKLaboklab(47.39% -0.0214 0.0845)
OKLCHoklch(47.39% 0.087 104.2)
XYZxyz(9.4451, 10.7897, 2.5622)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645E1A #1A2064
analogous
#64391A #645E1A #45641A
triadic
#645E1A #1A645E #5E1A64
tetradic
#645E1A #1A6439 #1A2064 #641A45
square
#645E1A #1A6439 #1A2064 #641A45
split-complementary
#645E1A #1A4564 #391A64
monochromatic
#181706 #33300D #645E1A #958C27 #C5B933

Accessibility & contrast

On white

6.65
#645E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#645E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645E1A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645E1A#FFFFFF#000000##FFFFFF
##645E1A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B10
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#6C5750
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645e1a;
/* rgb */ color: rgb(100, 94, 26);
/* oklch */ color: oklch(47.4% 0.087 104.2);
Tailwind
colors: {
  custom: {
    50: '#938b5b',
    500: '#645e1a',
    950: '#000000',
  },
}
SCSS
$custom: #645e1a;
$custom-light: #938b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#645e1a",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 26
  },
  "hsl": {
    "h": 55.135,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47386,
    "c": 0.08717,
    "h": 104.2
  },
  "luminance": 0.10789
}

Semantic roles & 50–950 ramp

primary
#645E1A
secondary
#40479A
accent
#53E246
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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