#645813#645813

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

Color values

HEX#645813
RGBrgb(100, 88, 19)
HSLhsl(51, 68%, 23%)
HSVhsv(51, 81%, 39%)
CMYKcmyk(0%, 12%, 81%, 60.8%)
CIE-LABlab(37.36, -3.28, 38.99)
CIE-LCHlch(37.36, 39.13, 94.82°)
OKLaboklab(45.89% -0.0133 0.0853)
OKLCHoklch(45.89% 0.086 98.9)
XYZxyz(8.8632, 9.7362, 2.0284)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645813 #131F64
analogous
#642F13 #645813 #476413
triadic
#645813 #136458 #581364
tetradic
#645813 #13642F #131F64 #641347
square
#645813 #13642F #131F64 #641347
split-complementary
#645813 #134764 #2F1364
monochromatic
#1A1705 #312B09 #645813 #97851D #CBB327

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645813#FFFFFF#000000##FFFFFF
##6458131.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)
#615605
Deuteranopia (green-blind)
#655A18
Tritanopia (blue-blind)
#6C514B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #645813;
/* rgb */ color: rgb(100, 88, 19);
/* oklch */ color: oklch(45.9% 0.086 98.9);
Tailwind
colors: {
  custom: {
    50: '#938657',
    500: '#645813',
    950: '#000000',
  },
}
SCSS
$custom: #645813;
$custom-light: #938657;
$custom-dark: #000000;
JSON
{
  "hex": "#645813",
  "rgb": {
    "r": 100,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 51.111,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45894,
    "c": 0.08636,
    "h": 98.9
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#645813
secondary
#37469C
accent
#57EB3D
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645813

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

Preview Lab → · Contrast checker → · Palette generator →

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