#645C15#645C15

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

Color values

HEX#645C15
RGBrgb(100, 92, 21)
HSLhsl(54, 65%, 24%)
HSVhsv(54, 79%, 39%)
CMYKcmyk(0%, 8%, 79%, 60.8%)
CIE-LABlab(38.58, -5.55, 39.35)
CIE-LCHlch(38.58, 39.74, 98.02°)
OKLaboklab(46.87% -0.0195 0.0865)
OKLCHoklch(46.87% 0.089 102.7)
XYZxyz(9.2184, 10.4182, 2.2347)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C15 #151D64
analogous
#643415 #645C15 #446415
triadic
#645C15 #15645C #5C1564
tetradic
#645C15 #156434 #151D64 #641544
square
#645C15 #156434 #151D64 #641544
split-complementary
#645C15 #154464 #341564
monochromatic
#191705 #312D0A #645C15 #978B20 #C9B92A

Accessibility & contrast

On white

6.81
#645C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#645C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645C15
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C15#FFFFFF#000000##FFFFFF
##645C151.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655907
Deuteranopia (green-blind)
#685C1A
Tritanopia (blue-blind)
#6C554E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645c15;
/* rgb */ color: rgb(100, 92, 21);
/* oklch */ color: oklch(46.9% 0.089 102.7);
Tailwind
colors: {
  custom: {
    50: '#938958',
    500: '#645c15',
    950: '#000000',
  },
}
SCSS
$custom: #645c15;
$custom-light: #938958;
$custom-dark: #000000;
JSON
{
  "hex": "#645c15",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 21
  },
  "hsl": {
    "h": 53.924,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46865,
    "c": 0.08869,
    "h": 102.7
  },
  "luminance": 0.10418
}

Semantic roles & 50–950 ramp

primary
#645C15
secondary
#3A449B
accent
#51E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645C15

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

Preview Lab → · Contrast checker → · Palette generator →

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