#645C12#645C12

#645C12 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.8% C 0.091 H 102.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#645C12
RGBrgb(100, 92, 18)
HSLhsl(54, 69%, 23%)
HSVhsv(54, 82%, 39%)
CMYKcmyk(0%, 8%, 82%, 60.8%)
CIE-LABlab(38.56, -5.68, 40.47)
CIE-LCHlch(38.56, 40.87, 97.99°)
OKLaboklab(46.84% -0.0202 0.0883)
OKLCHoklch(46.84% 0.091 102.9)
XYZxyz(9.1923, 10.4077, 2.0968)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C12 #121A64
analogous
#643312 #645C12 #436412
triadic
#645C12 #12645C #5C1264
tetradic
#645C12 #126433 #121A64 #641243
square
#645C12 #126433 #121A64 #641243
split-complementary
#645C12 #124364 #331264
monochromatic
#1A1805 #302C09 #645C12 #988C1B #CCBB25

Accessibility & contrast

On white

6.82
#645C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645C12
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C12#FFFFFF#000000##FFFFFF
##645C121.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645c12;
/* rgb */ color: rgb(100, 92, 18);
/* oklch */ color: oklch(46.8% 0.091 102.9);
Tailwind
colors: {
  custom: {
    50: '#938957',
    500: '#645c12',
    950: '#000000',
  },
}
SCSS
$custom: #645c12;
$custom-light: #938957;
$custom-dark: #000000;
JSON
{
  "hex": "#645c12",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 54.146,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46844,
    "c": 0.09055,
    "h": 102.9
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#645C12
secondary
#36409C
accent
#4DEC3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645C12

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

Preview Lab → · Contrast checker → · Palette generator →

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