#645811#645811

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

Color values

HEX#645811
RGBrgb(100, 88, 17)
HSLhsl(51, 71%, 23%)
HSVhsv(51, 83%, 39%)
CMYKcmyk(0%, 12%, 83%, 60.8%)
CIE-LABlab(37.35, -3.37, 39.73)
CIE-LCHlch(37.35, 39.87, 94.85°)
OKLaboklab(45.88% -0.0138 0.0865)
OKLCHoklch(45.88% 0.088 99)
XYZxyz(8.8469, 9.7297, 1.9422)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645811 #111D64
analogous
#642E11 #645811 #466411
triadic
#645811 #116458 #581164
tetradic
#645811 #11642E #111D64 #641146
square
#645811 #11642E #111D64 #641146
split-complementary
#645811 #114664 #2E1164
monochromatic
#1A1704 #302A08 #645811 #98861A #CDB423

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645811#FFFFFF#000000##FFFFFF
##6458111.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)
#625502
Deuteranopia (green-blind)
#655A16
Tritanopia (blue-blind)
#6D514B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #645811;
/* rgb */ color: rgb(100, 88, 17);
/* oklch */ color: oklch(45.9% 0.088 99.0);
Tailwind
colors: {
  custom: {
    50: '#938656',
    500: '#645811',
    950: '#000000',
  },
}
SCSS
$custom: #645811;
$custom-light: #938656;
$custom-dark: #000000;
JSON
{
  "hex": "#645811",
  "rgb": {
    "r": 100,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 51.325,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45881,
    "c": 0.08756,
    "h": 99
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#645811
secondary
#35449C
accent
#54EE3A
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645811

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

Preview Lab → · Contrast checker → · Palette generator →

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