#645C2B#645C2B

#645C2B is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 47.1% C 0.069 H 100.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#645C2B
RGBrgb(100, 92, 43)
HSLhsl(52, 40%, 28%)
HSVhsv(52, 57%, 39%)
CMYKcmyk(0%, 8%, 57%, 60.8%)
CIE-LABlab(38.79, -3.98, 29.01)
CIE-LCHlch(38.79, 29.28, 97.80°)
OKLaboklab(47.1% -0.0122 0.0682)
OKLCHoklch(47.1% 0.069 100.2)
XYZxyz(9.5190, 10.5384, 3.8177)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C2B #2B3364
analogous
#643F2B #645C2B #4F642B
triadic
#645C2B #2B645C #5C2B64
tetradic
#645C2B #2B643F #2B3364 #642B4F
square
#645C2B #2B643F #2B3364 #642B4F
split-complementary
#645C2B #2B4F64 #3F2B64
monochromatic
#151409 #393519 #645C2B #8F833D #B5A854

Accessibility & contrast

On white

6.76
#645C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645C2B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C2B#FFFFFF#000000##FFFFFF
##645C2B1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645c2b;
/* rgb */ color: rgb(100, 92, 43);
/* oklch */ color: oklch(47.1% 0.069 100.2);
Tailwind
colors: {
  custom: {
    50: '#928a66',
    500: '#645c2b',
    950: '#000000',
  },
}
SCSS
$custom: #645c2b;
$custom-light: #928a66;
$custom-dark: #000000;
JSON
{
  "hex": "#645c2b",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 43
  },
  "hsl": {
    "h": 51.579,
    "s": 39.86,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47098,
    "c": 0.06929,
    "h": 100.2
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

primary
#645C2B
secondary
#555E96
accent
#69D058
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0B06
muted
#7E7C7A

Preview Lab

Preview with #645C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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