#645711#645711

#645711 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.6% C 0.087 H 98.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#645711
RGBrgb(100, 87, 17)
HSLhsl(51, 71%, 23%)
HSVhsv(51, 83%, 39%)
CMYKcmyk(0%, 13%, 83%, 60.8%)
CIE-LABlab(37.05, -2.78, 39.46)
CIE-LCHlch(37.05, 39.56, 94.03°)
OKLaboklab(45.64% -0.0121 0.0859)
OKLCHoklch(45.64% 0.087 98)
XYZxyz(8.7654, 9.5666, 1.9151)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645711 #111E64
analogous
#642D11 #645711 #476411
triadic
#645711 #116457 #571164
tetradic
#645711 #11642D #111E64 #641147
square
#645711 #11642D #111E64 #641147
split-complementary
#645711 #114764 #2D1164
monochromatic
#1A1704 #302908 #645711 #98851A #CDB223

Accessibility & contrast

On white

7.21
#645711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#645711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645711
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645711#FFFFFF#000000##FFFFFF
##6457111.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#645916
Tritanopia (blue-blind)
#6D504A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #645711;
/* rgb */ color: rgb(100, 87, 17);
/* oklch */ color: oklch(45.6% 0.087 98.0);
Tailwind
colors: {
  custom: {
    50: '#938656',
    500: '#645711',
    950: '#000000',
  },
}
SCSS
$custom: #645711;
$custom-light: #938656;
$custom-dark: #000000;
JSON
{
  "hex": "#645711",
  "rgb": {
    "r": 100,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 50.602,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45643,
    "c": 0.08674,
    "h": 98
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#645711
secondary
#35459C
accent
#56EE3A
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #645711

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

Preview Lab → · Contrast checker → · Palette generator →

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