#645815#645815

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

Color values

HEX#645815
RGBrgb(100, 88, 21)
HSLhsl(51, 65%, 24%)
HSVhsv(51, 79%, 39%)
CMYKcmyk(0%, 12%, 79%, 60.8%)
CIE-LABlab(37.38, -3.19, 38.21)
CIE-LCHlch(37.38, 38.34, 94.77°)
OKLaboklab(45.91% -0.0128 0.0841)
OKLCHoklch(45.91% 0.085 98.7)
XYZxyz(8.8810, 9.7434, 2.1222)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645815 #152164
analogous
#643015 #645815 #486415
triadic
#645815 #156458 #581564
tetradic
#645815 #156430 #152164 #641548
square
#645815 #156430 #152164 #641548
split-complementary
#645815 #154864 #301564
monochromatic
#191605 #312B0A #645815 #978520 #C9B12A

Accessibility & contrast

On white

7.12
#645815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #645815
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645815#FFFFFF#000000##FFFFFF
##6458151.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645815;
/* rgb */ color: rgb(100, 88, 21);
/* oklch */ color: oklch(45.9% 0.085 98.7);
Tailwind
colors: {
  custom: {
    50: '#938658',
    500: '#645815',
    950: '#000000',
  },
}
SCSS
$custom: #645815;
$custom-light: #938658;
$custom-dark: #000000;
JSON
{
  "hex": "#645815",
  "rgb": {
    "r": 100,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 50.886,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45908,
    "c": 0.08508,
    "h": 98.7
  },
  "luminance": 0.09743
}

Semantic roles & 50–950 ramp

primary
#645815
secondary
#3A499B
accent
#59E840
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645815

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

Preview Lab → · Contrast checker → · Palette generator →

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