#645720#645720

#645720 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.8% C 0.076 H 95.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#645720
RGBrgb(100, 87, 32)
HSLhsl(49, 52%, 26%)
HSVhsv(49, 68%, 39%)
CMYKcmyk(0%, 13%, 68%, 60.8%)
CIE-LABlab(37.17, -1.92, 32.96)
CIE-LCHlch(37.17, 33.01, 93.34°)
OKLaboklab(45.77% -0.0078 0.0751)
OKLCHoklch(45.77% 0.076 95.9)
XYZxyz(8.9248, 9.6304, 2.7550)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645720 #202D64
analogous
#643520 #645720 #4F6420
triadic
#645720 #206457 #572064
tetradic
#645720 #206435 #202D64 #64204F
square
#645720 #206435 #202D64 #64204F
split-complementary
#645720 #204F64 #352064
monochromatic
#171407 #362F11 #645720 #927F2F #C1A83E

Accessibility & contrast

On white

7.18
#645720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#645720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645720
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645720#FFFFFF#000000##FFFFFF
##6457201.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551A
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#6C504B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #645720;
/* rgb */ color: rgb(100, 87, 32);
/* oklch */ color: oklch(45.8% 0.076 95.9);
Tailwind
colors: {
  custom: {
    50: '#92865e',
    500: '#645720',
    950: '#000000',
  },
}
SCSS
$custom: #645720;
$custom-light: #92865e;
$custom-dark: #000000;
JSON
{
  "hex": "#645720",
  "rgb": {
    "r": 100,
    "g": 87,
    "b": 32
  },
  "hsl": {
    "h": 48.529,
    "s": 51.515,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45774,
    "c": 0.07554,
    "h": 95.9
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#645720
secondary
#485798
accent
#68DB4D
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645720

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

Preview Lab → · Contrast checker → · Palette generator →

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