#645C13#645C13

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

Color values

HEX#645C13
RGBrgb(100, 92, 19)
HSLhsl(54, 68%, 23%)
HSVhsv(54, 81%, 39%)
CMYKcmyk(0%, 8%, 81%, 60.8%)
CIE-LABlab(38.57, -5.64, 40.11)
CIE-LCHlch(38.57, 40.50, 98.00°)
OKLaboklab(46.85% -0.0199 0.0877)
OKLCHoklch(46.85% 0.09 102.8)
XYZxyz(9.2006, 10.4110, 2.1409)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C13 #131B64
analogous
#643313 #645C13 #436413
triadic
#645C13 #13645C #5C1364
tetradic
#645C13 #136433 #131B64 #641343
square
#645C13 #136433 #131B64 #641343
split-complementary
#645C13 #134364 #331364
monochromatic
#1A1805 #312D09 #645C13 #978B1D #CBBB27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645C13#FFFFFF#000000##FFFFFF
##645C131.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)
#655904
Deuteranopia (green-blind)
#685C18
Tritanopia (blue-blind)
#6C554E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645c13;
/* rgb */ color: rgb(100, 92, 19);
/* oklch */ color: oklch(46.9% 0.090 102.8);
Tailwind
colors: {
  custom: {
    50: '#938957',
    500: '#645c13',
    950: '#000000',
  },
}
SCSS
$custom: #645c13;
$custom-light: #938957;
$custom-dark: #000000;
JSON
{
  "hex": "#645c13",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 19
  },
  "hsl": {
    "h": 54.074,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46851,
    "c": 0.08995,
    "h": 102.8
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#645C13
secondary
#37419C
accent
#4EEB3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645C13

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

Preview Lab → · Contrast checker → · Palette generator →

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