#645E2F#645E2F

#645E2F is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.6% C 0.067 H 102.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#645E2F
RGBrgb(100, 94, 47)
HSLhsl(53, 36%, 29%)
HSVhsv(53, 53%, 39%)
CMYKcmyk(0%, 6%, 53%, 60.8%)
CIE-LABlab(39.45, -4.76, 27.58)
CIE-LCHlch(39.45, 27.99, 99.79°)
OKLaboklab(47.63% -0.014 0.0655)
OKLCHoklch(47.63% 0.067 102.1)
XYZxyz(9.7716, 10.9203, 4.2819)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645E2F #2F3564
analogous
#64442F #645E2F #50642F
triadic
#645E2F #2F645E #5E2F64
tetradic
#645E2F #2F6444 #2F3564 #642F50
square
#645E2F #2F6444 #2F3564 #642F50
split-complementary
#645E2F #2F5064 #442F64
monochromatic
#15140A #3A371B #645E2F #8E8543 #B2A85B

Accessibility & contrast

On white

6.60
#645E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#645E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645E2F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645E2F#FFFFFF#000000##FFFFFF
##645E2F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2B
Deuteranopia (green-blind)
#675E31
Tritanopia (blue-blind)
#6B5853
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645e2f;
/* rgb */ color: rgb(100, 94, 47);
/* oklch */ color: oklch(47.6% 0.067 102.1);
Tailwind
colors: {
  custom: {
    50: '#918b69',
    500: '#645e2f',
    950: '#000000',
  },
}
SCSS
$custom: #645e2f;
$custom-light: #918b69;
$custom-dark: #000000;
JSON
{
  "hex": "#645e2f",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 47
  },
  "hsl": {
    "h": 53.208,
    "s": 36.054,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47634,
    "c": 0.06699,
    "h": 102.1
  },
  "luminance": 0.1092
}

Semantic roles & 50–950 ramp

primary
#645E2F
secondary
#596096
accent
#68CC5C
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0C06
muted
#7E7D7A

Preview Lab

Preview with #645E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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