#645212#645212

#645212 is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.5% C 0.082 H 92.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#645212
RGBrgb(100, 82, 18)
HSLhsl(47, 69%, 23%)
HSVhsv(47, 82%, 39%)
CMYKcmyk(0%, 18%, 82%, 60.8%)
CIE-LABlab(35.57, 0.26, 37.72)
CIE-LCHlch(35.57, 37.72, 89.60°)
OKLaboklab(44.47% -0.0033 0.0824)
OKLCHoklch(44.47% 0.082 92.3)
XYZxyz(8.3825, 8.7881, 1.8269)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645212 #122464
analogous
#642912 #645212 #4D6412
triadic
#645212 #126452 #521264
tetradic
#645212 #126429 #122464 #64124D
square
#645212 #126429 #122464 #64124D
split-complementary
#645212 #124D64 #291264
monochromatic
#1A1505 #302709 #645212 #987D1B #CCA725

Accessibility & contrast

On white

7.62
#645212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#645212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645212
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645212#FFFFFF#000000##FFFFFF
##6452121.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5106
Deuteranopia (green-blind)
#605616
Tritanopia (blue-blind)
#6D4B46
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #645212;
/* rgb */ color: rgb(100, 82, 18);
/* oklch */ color: oklch(44.5% 0.082 92.3);
Tailwind
colors: {
  custom: {
    50: '#938256',
    500: '#645212',
    950: '#000000',
  },
}
SCSS
$custom: #645212;
$custom-light: #938256;
$custom-dark: #000000;
JSON
{
  "hex": "#645212",
  "rgb": {
    "r": 100,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 46.829,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44474,
    "c": 0.08246,
    "h": 92.3
  },
  "luminance": 0.08788
}

Semantic roles & 50–950 ramp

primary
#645212
secondary
#364C9C
accent
#62EC3B
background
#F9F7F5
surface
#F2EEE9
border
#CCC9C5
text
#0E0A03
muted
#7E7C78

Preview Lab

Preview with #645212

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

Preview Lab → · Contrast checker → · Palette generator →

#645212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva