#645012#645012

#645012 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 44.0% C 0.081 H 89.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#645012
RGBrgb(100, 80, 18)
HSLhsl(45, 69%, 23%)
HSVhsv(45, 82%, 39%)
CMYKcmyk(0%, 20%, 82%, 60.8%)
CIE-LABlab(34.98, 1.48, 37.17)
CIE-LCHlch(34.98, 37.20, 87.73°)
OKLaboklab(44.01% 0.0001 0.0812)
OKLCHoklch(44.01% 0.081 89.9)
XYZxyz(8.2339, 8.4908, 1.7774)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645012 #122664
analogous
#642712 #645012 #4F6412
triadic
#645012 #126450 #501264
tetradic
#645012 #126427 #122664 #64124F
square
#645012 #126427 #122664 #64124F
split-complementary
#645012 #124F64 #271264
monochromatic
#1A1505 #302709 #645012 #98791B #CCA325

Accessibility & contrast

On white

7.78
#645012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#645012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645012
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645012#FFFFFF#000000##FFFFFF
##6450121.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F07
Deuteranopia (green-blind)
#5F5516
Tritanopia (blue-blind)
#6D4844
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #645012;
/* rgb */ color: rgb(100, 80, 18);
/* oklch */ color: oklch(44.0% 0.081 89.9);
Tailwind
colors: {
  custom: {
    50: '#948055',
    500: '#645012',
    950: '#000000',
  },
}
SCSS
$custom: #645012;
$custom-light: #948055;
$custom-dark: #000000;
JSON
{
  "hex": "#645012",
  "rgb": {
    "r": 100,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 45.366,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4401,
    "c": 0.08122,
    "h": 89.9
  },
  "luminance": 0.0849
}

Semantic roles & 50–950 ramp

primary
#645012
secondary
#364F9C
accent
#67EC3B
background
#F9F7F5
surface
#F2EEE9
border
#CCC9C5
text
#0E0A03
muted
#7E7C78

Preview Lab

Preview with #645012

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

Preview Lab → · Contrast checker → · Palette generator →

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