#645C2F#645C2F

#645C2F is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 47.2% C 0.065 H 99.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#645C2F
RGBrgb(100, 92, 47)
HSLhsl(51, 36%, 29%)
HSVhsv(51, 53%, 39%)
CMYKcmyk(0%, 8%, 53%, 60.8%)
CIE-LABlab(38.85, -3.58, 26.86)
CIE-LCHlch(38.85, 27.10, 97.59°)
OKLaboklab(47.16% -0.0106 0.0639)
OKLCHoklch(47.16% 0.065 99.4)
XYZxyz(9.5961, 10.5692, 4.2234)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C2F #2F3764
analogous
#64422F #645C2F #52642F
triadic
#645C2F #2F645C #5C2F64
tetradic
#645C2F #2F6442 #2F3764 #642F52
square
#645C2F #2F6442 #2F3764 #642F52
split-complementary
#645C2F #2F5264 #422F64
monochromatic
#15130A #3A361B #645C2F #8E8243 #B2A55B

Accessibility & contrast

On white

6.74
#645C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645C2F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C2F#FFFFFF#000000##FFFFFF
##645C2F1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645c2f;
/* rgb */ color: rgb(100, 92, 47);
/* oklch */ color: oklch(47.2% 0.065 99.4);
Tailwind
colors: {
  custom: {
    50: '#918a69',
    500: '#645c2f',
    950: '#000000',
  },
}
SCSS
$custom: #645c2f;
$custom-light: #918a69;
$custom-dark: #000000;
JSON
{
  "hex": "#645c2f",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 47
  },
  "hsl": {
    "h": 50.943,
    "s": 36.054,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47158,
    "c": 0.06479,
    "h": 99.4
  },
  "luminance": 0.10569
}

Semantic roles & 50–950 ramp

primary
#645C2F
secondary
#596296
accent
#6DCC5C
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0B06
muted
#7E7C7A

Preview Lab

Preview with #645C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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