#645D2F#645D2F

#645D2F is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.4% C 0.066 H 100.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#645D2F
RGBrgb(100, 93, 47)
HSLhsl(52, 36%, 29%)
HSVhsv(52, 53%, 39%)
CMYKcmyk(0%, 7%, 53%, 60.8%)
CIE-LABlab(39.15, -4.17, 27.22)
CIE-LCHlch(39.15, 27.54, 98.71°)
OKLaboklab(47.4% -0.0123 0.0647)
OKLCHoklch(47.4% 0.066 100.8)
XYZxyz(9.6833, 10.7436, 4.2524)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645D2F #2F3664
analogous
#64432F #645D2F #51642F
triadic
#645D2F #2F645D #5D2F64
tetradic
#645D2F #2F6443 #2F3664 #642F51
square
#645D2F #2F6443 #2F3664 #642F51
split-complementary
#645D2F #2F5164 #432F64
monochromatic
#15130A #3A361B #645D2F #8E8443 #B2A75B

Accessibility & contrast

On white

6.67
#645D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#645D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645D2F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645D2F#FFFFFF#000000##FFFFFF
##645D2F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2B
Deuteranopia (green-blind)
#675D31
Tritanopia (blue-blind)
#6B5752
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645d2f;
/* rgb */ color: rgb(100, 93, 47);
/* oklch */ color: oklch(47.4% 0.066 100.8);
Tailwind
colors: {
  custom: {
    50: '#918a69',
    500: '#645d2f',
    950: '#000000',
  },
}
SCSS
$custom: #645d2f;
$custom-light: #918a69;
$custom-dark: #000000;
JSON
{
  "hex": "#645d2f",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 47
  },
  "hsl": {
    "h": 52.075,
    "s": 36.054,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47395,
    "c": 0.06587,
    "h": 100.8
  },
  "luminance": 0.10743
}

Semantic roles & 50–950 ramp

primary
#645D2F
secondary
#596196
accent
#6BCC5C
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0B06
muted
#7E7C7A

Preview Lab

Preview with #645D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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