#645522#645522

#645522 is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.3% C 0.072 H 92.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#645522
RGBrgb(100, 85, 34)
HSLhsl(46, 49%, 26%)
HSVhsv(46, 66%, 39%)
CMYKcmyk(0%, 15%, 66%, 60.8%)
CIE-LABlab(36.60, -0.58, 31.31)
CIE-LCHlch(36.60, 31.31, 91.05°)
OKLaboklab(45.33% -0.0037 0.072)
OKLCHoklch(45.33% 0.072 92.9)
XYZxyz(8.7932, 9.3223, 2.8493)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645522 #223164
analogous
#643422 #645522 #526422
triadic
#645522 #226455 #552264
tetradic
#645522 #226434 #223164 #642252
square
#645522 #226434 #223164 #642252
split-complementary
#645522 #225264 #342264
monochromatic
#171308 #362E12 #645522 #927C32 #BFA242

Accessibility & contrast

On white

7.33
#645522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#645522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645522
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645522#FFFFFF#000000##FFFFFF
##6455221.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E541D
Deuteranopia (green-blind)
#625824
Tritanopia (blue-blind)
#6C4E4A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #645522;
/* rgb */ color: rgb(100, 85, 34);
/* oklch */ color: oklch(45.3% 0.072 92.9);
Tailwind
colors: {
  custom: {
    50: '#92845f',
    500: '#645522',
    950: '#000000',
  },
}
SCSS
$custom: #645522;
$custom-light: #92845f;
$custom-dark: #000000;
JSON
{
  "hex": "#645522",
  "rgb": {
    "r": 100,
    "g": 85,
    "b": 34
  },
  "hsl": {
    "h": 46.364,
    "s": 49.254,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45327,
    "c": 0.07204,
    "h": 92.9
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

primary
#645522
secondary
#4A5C98
accent
#6ED94F
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A05
muted
#7E7C79

Preview Lab

Preview with #645522

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

Preview Lab → · Contrast checker → · Palette generator →

#645522 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva