#645F2F#645F2F

#645F2F is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.9% C 0.068 H 103.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#645F2F
RGBrgb(100, 95, 47)
HSLhsl(54, 36%, 29%)
HSVhsv(54, 53%, 39%)
CMYKcmyk(0%, 5%, 53%, 60.8%)
CIE-LABlab(39.75, -5.34, 27.95)
CIE-LCHlch(39.75, 28.45, 100.83°)
OKLaboklab(47.87% -0.0157 0.0663)
OKLCHoklch(47.87% 0.068 103.3)
XYZxyz(9.8611, 11.0993, 4.3117)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F2F #2F3464
analogous
#64452F #645F2F #4F642F
triadic
#645F2F #2F645F #5F2F64
tetradic
#645F2F #2F6445 #2F3464 #642F4F
square
#645F2F #2F6445 #2F3464 #642F4F
split-complementary
#645F2F #2F4F64 #452F64
monochromatic
#15140A #3A371B #645F2F #8E8743 #B2AA5B

Accessibility & contrast

On white

6.52
#645F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#645F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645F2F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645F2F#FFFFFF#000000##FFFFFF
##645F2F1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C2B
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#6B5954
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #645f2f;
/* rgb */ color: rgb(100, 95, 47);
/* oklch */ color: oklch(47.9% 0.068 103.3);
Tailwind
colors: {
  custom: {
    50: '#918c69',
    500: '#645f2f',
    950: '#000000',
  },
}
SCSS
$custom: #645f2f;
$custom-light: #918c69;
$custom-dark: #000000;
JSON
{
  "hex": "#645f2f",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 47
  },
  "hsl": {
    "h": 54.34,
    "s": 36.054,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47873,
    "c": 0.06813,
    "h": 103.3
  },
  "luminance": 0.11099
}

Semantic roles & 50–950 ramp

primary
#645F2F
secondary
#595F96
accent
#66CC5C
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0C06
muted
#7E7D7A

Preview Lab

Preview with #645F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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