#645C14#645C14

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

Color values

HEX#645C14
RGBrgb(100, 92, 20)
HSLhsl(54, 67%, 24%)
HSVhsv(54, 80%, 39%)
CMYKcmyk(0%, 8%, 80%, 60.8%)
CIE-LABlab(38.58, -5.59, 39.73)
CIE-LCHlch(38.58, 40.12, 98.01°)
OKLaboklab(46.86% -0.0197 0.0871)
OKLCHoklch(46.86% 0.089 102.8)
XYZxyz(9.2094, 10.4145, 2.1868)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C14 #141C64
analogous
#643414 #645C14 #446414
triadic
#645C14 #14645C #5C1464
tetradic
#645C14 #146434 #141C64 #641444
square
#645C14 #146434 #141C64 #641444
split-complementary
#645C14 #144464 #341464
monochromatic
#1A1705 #312D0A #645C14 #978B1E #CABA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645C14#FFFFFF#000000##FFFFFF
##645C141.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)
#655906
Deuteranopia (green-blind)
#685C19
Tritanopia (blue-blind)
#6C554E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645c14;
/* rgb */ color: rgb(100, 92, 20);
/* oklch */ color: oklch(46.9% 0.089 102.8);
Tailwind
colors: {
  custom: {
    50: '#938958',
    500: '#645c14',
    950: '#000000',
  },
}
SCSS
$custom: #645c14;
$custom-light: #938958;
$custom-dark: #000000;
JSON
{
  "hex": "#645c14",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 20
  },
  "hsl": {
    "h": 54,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46858,
    "c": 0.08933,
    "h": 102.8
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#645C14
secondary
#38429B
accent
#4FEA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645C14

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

Preview Lab → · Contrast checker → · Palette generator →

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