#645812#645812

#645812 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.9% C 0.087 H 99.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#645812
RGBrgb(100, 88, 18)
HSLhsl(51, 69%, 23%)
HSVhsv(51, 82%, 39%)
CMYKcmyk(0%, 12%, 82%, 60.8%)
CIE-LABlab(37.36, -3.33, 39.37)
CIE-LCHlch(37.36, 39.51, 94.83°)
OKLaboklab(45.89% -0.0135 0.0859)
OKLCHoklch(45.89% 0.087 99)
XYZxyz(8.8549, 9.7329, 1.9844)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645812 #121E64
analogous
#642F12 #645812 #476412
triadic
#645812 #126458 #581264
tetradic
#645812 #12642F #121E64 #641247
square
#645812 #12642F #121E64 #641247
split-complementary
#645812 #124764 #2F1264
monochromatic
#1A1705 #302A09 #645812 #98861B #CCB325

Accessibility & contrast

On white

7.13
#645812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#645812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645812
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645812#FFFFFF#000000##FFFFFF
##6458121.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625504
Deuteranopia (green-blind)
#655A17
Tritanopia (blue-blind)
#6C514B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #645812;
/* rgb */ color: rgb(100, 88, 18);
/* oklch */ color: oklch(45.9% 0.087 99.0);
Tailwind
colors: {
  custom: {
    50: '#938656',
    500: '#645812',
    950: '#000000',
  },
}
SCSS
$custom: #645812;
$custom-light: #938656;
$custom-dark: #000000;
JSON
{
  "hex": "#645812",
  "rgb": {
    "r": 100,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 51.22,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45887,
    "c": 0.08697,
    "h": 99
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#645812
secondary
#36459C
accent
#55EC3B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645812

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

Preview Lab → · Contrast checker → · Palette generator →

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