#645E1B#645E1B

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

Color values

HEX#645E1B
RGBrgb(100, 94, 27)
HSLhsl(55, 57%, 25%)
HSVhsv(55, 73%, 39%)
CMYKcmyk(0%, 6%, 73%, 60.8%)
CIE-LABlab(39.23, -6.38, 37.47)
CIE-LCHlch(39.23, 38.01, 99.67°)
OKLaboklab(47.4% -0.0211 0.0838)
OKLCHoklch(47.4% 0.086 104.2)
XYZxyz(9.4564, 10.7942, 2.6221)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645E1B #1B2164
analogous
#64391B #645E1B #46641B
triadic
#645E1B #1B645E #5E1B64
tetradic
#645E1B #1B6439 #1B2164 #641B46
square
#645E1B #1B6439 #1B2164 #641B46
split-complementary
#645E1B #1B4664 #391B64
monochromatic
#181707 #34310E #645E1B #948B28 #C4B935

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645E1B#FFFFFF#000000##FFFFFF
##645E1B1.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)
#675B11
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#6C5751
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645e1b;
/* rgb */ color: rgb(100, 94, 27);
/* oklch */ color: oklch(47.4% 0.086 104.2);
Tailwind
colors: {
  custom: {
    50: '#938b5c',
    500: '#645e1b',
    950: '#000000',
  },
}
SCSS
$custom: #645e1b;
$custom-light: #938b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#645e1b",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 55.068,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47395,
    "c": 0.08641,
    "h": 104.2
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

primary
#645E1B
secondary
#414999
accent
#54E147
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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