#645112#645112

#645112 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.2% C 0.082 H 91.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#645112
RGBrgb(100, 81, 18)
HSLhsl(46, 69%, 23%)
HSVhsv(46, 82%, 39%)
CMYKcmyk(0%, 19%, 82%, 60.8%)
CIE-LABlab(35.28, 0.87, 37.44)
CIE-LCHlch(35.28, 37.45, 88.67°)
OKLaboklab(44.24% -0.0016 0.0818)
OKLCHoklch(44.24% 0.082 91.1)
XYZxyz(8.3076, 8.6384, 1.8020)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645112 #122564
analogous
#642812 #645112 #4E6412
triadic
#645112 #126451 #511264
tetradic
#645112 #126428 #122564 #64124E
square
#645112 #126428 #122564 #64124E
split-complementary
#645112 #124E64 #281264
monochromatic
#1A1505 #302709 #645112 #987B1B #CCA525

Accessibility & contrast

On white

7.70
#645112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#645112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645112
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645112#FFFFFF#000000##FFFFFF
##6451121.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5006
Deuteranopia (green-blind)
#605516
Tritanopia (blue-blind)
#6D4945
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #645112;
/* rgb */ color: rgb(100, 81, 18);
/* oklch */ color: oklch(44.2% 0.082 91.1);
Tailwind
colors: {
  custom: {
    50: '#948155',
    500: '#645112',
    950: '#000000',
  },
}
SCSS
$custom: #645112;
$custom-light: #948155;
$custom-dark: #000000;
JSON
{
  "hex": "#645112",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 46.098,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44242,
    "c": 0.08182,
    "h": 91.1
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

primary
#645112
secondary
#364E9C
accent
#64EC3B
background
#F9F7F5
surface
#F2EEE9
border
#CCC9C5
text
#0E0A03
muted
#7E7C78

Preview Lab

Preview with #645112

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

Preview Lab → · Contrast checker → · Palette generator →

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