#645C19#645C19

#645C19 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.9% C 0.086 H 102.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#645C19
RGBrgb(100, 92, 25)
HSLhsl(54, 60%, 25%)
HSVhsv(54, 75%, 39%)
CMYKcmyk(0%, 8%, 75%, 60.8%)
CIE-LABlab(38.61, -5.33, 37.73)
CIE-LCHlch(38.61, 38.10, 98.05°)
OKLaboklab(46.9% -0.0184 0.0839)
OKLCHoklch(46.9% 0.086 102.4)
XYZxyz(9.2585, 10.4342, 2.4458)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C19 #192164
analogous
#643719 #645C19 #476419
triadic
#645C19 #19645C #5C1964
tetradic
#645C19 #196437 #192164 #641947
square
#645C19 #196437 #192164 #641947
split-complementary
#645C19 #194764 #371964
monochromatic
#181706 #332F0D #645C19 #958925 #C6B631

Accessibility & contrast

On white

6.80
#645C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#645C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645C19
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C19#FFFFFF#000000##FFFFFF
##645C191.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590F
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#6C554F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645c19;
/* rgb */ color: rgb(100, 92, 25);
/* oklch */ color: oklch(46.9% 0.086 102.4);
Tailwind
colors: {
  custom: {
    50: '#93895b',
    500: '#645c19',
    950: '#000000',
  },
}
SCSS
$custom: #645c19;
$custom-light: #93895b;
$custom-dark: #000000;
JSON
{
  "hex": "#645c19",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 25
  },
  "hsl": {
    "h": 53.6,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.08592,
    "h": 102.4
  },
  "luminance": 0.10434
}

Semantic roles & 50–950 ramp

primary
#645C19
secondary
#3F499A
accent
#56E345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645C19

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

Preview Lab → · Contrast checker → · Palette generator →

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