#645F2B#645F2B

#645F2B is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.8% C 0.073 H 103.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#645F2B
RGBrgb(100, 95, 43)
HSLhsl(55, 40%, 28%)
HSVhsv(55, 57%, 39%)
CMYKcmyk(0%, 5%, 57%, 60.8%)
CIE-LABlab(39.70, -5.74, 30.07)
CIE-LCHlch(39.70, 30.61, 100.80°)
OKLaboklab(47.82% -0.0173 0.0705)
OKLCHoklch(47.82% 0.073 103.8)
XYZxyz(9.7841, 11.0685, 3.9061)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F2B #2B3064
analogous
#64422B #645F2B #4C642B
triadic
#645F2B #2B645F #5F2B64
tetradic
#645F2B #2B6442 #2B3064 #642B4C
square
#645F2B #2B6442 #2B3064 #642B4C
split-complementary
#645F2B #2B4C64 #422B64
monochromatic
#151409 #393619 #645F2B #8F883D #B5AD54

Accessibility & contrast

On white

6.53
#645F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#645F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645F2B
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645F2B#FFFFFF#000000##FFFFFF
##645F2B1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C26
Deuteranopia (green-blind)
#685F2E
Tritanopia (blue-blind)
#6B5953
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645f2b;
/* rgb */ color: rgb(100, 95, 43);
/* oklch */ color: oklch(47.8% 0.073 103.8);
Tailwind
colors: {
  custom: {
    50: '#928c66',
    500: '#645f2b',
    950: '#000000',
  },
}
SCSS
$custom: #645f2b;
$custom-light: #928c66;
$custom-dark: #000000;
JSON
{
  "hex": "#645f2b",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 43
  },
  "hsl": {
    "h": 54.737,
    "s": 39.86,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47815,
    "c": 0.07258,
    "h": 103.8
  },
  "luminance": 0.11068
}

Semantic roles & 50–950 ramp

primary
#645F2B
secondary
#555A96
accent
#63D058
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0C06
muted
#7E7D7A

Preview Lab

Preview with #645F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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