#645C2E#645C2E

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

Color values

HEX#645C2E
RGBrgb(100, 92, 46)
HSLhsl(51, 37%, 29%)
HSVhsv(51, 54%, 39%)
CMYKcmyk(0%, 8%, 54%, 60.8%)
CIE-LABlab(38.83, -3.68, 27.40)
CIE-LCHlch(38.83, 27.65, 97.66°)
OKLaboklab(47.14% -0.011 0.065)
OKLCHoklch(47.14% 0.066 99.6)
XYZxyz(9.5761, 10.5612, 4.1183)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C2E #2E3664
analogous
#64412E #645C2E #51642E
triadic
#645C2E #2E645C #5C2E64
tetradic
#645C2E #2E6441 #2E3664 #642E51
square
#645C2E #2E6441 #2E3664 #642E51
split-complementary
#645C2E #2E5164 #412E64
monochromatic
#15130A #3A351B #645C2E #8E8341 #B3A65A

Accessibility & contrast

On white

6.75
#645C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#645C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645C2E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C2E#FFFFFF#000000##FFFFFF
##645C2E1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2A
Deuteranopia (green-blind)
#665D30
Tritanopia (blue-blind)
#6B5651
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645c2e;
/* rgb */ color: rgb(100, 92, 46);
/* oklch */ color: oklch(47.1% 0.066 99.6);
Tailwind
colors: {
  custom: {
    50: '#928a68',
    500: '#645c2e',
    950: '#000000',
  },
}
SCSS
$custom: #645c2e;
$custom-light: #928a68;
$custom-dark: #000000;
JSON
{
  "hex": "#645c2e",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 46
  },
  "hsl": {
    "h": 51.111,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.47142,
    "c": 0.06594,
    "h": 99.6
  },
  "luminance": 0.10561
}

Semantic roles & 50–950 ramp

primary
#645C2E
secondary
#586196
accent
#6CCD5B
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0B06
muted
#7E7C7A

Preview Lab

Preview with #645C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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