#645B11#645B11

#645B11 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.6% C 0.090 H 102.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#645B11
RGBrgb(100, 91, 17)
HSLhsl(53, 71%, 23%)
HSVhsv(53, 83%, 39%)
CMYKcmyk(0%, 9%, 83%, 60.8%)
CIE-LABlab(38.26, -5.14, 40.55)
CIE-LCHlch(38.26, 40.87, 97.23°)
OKLaboklab(46.6% -0.0187 0.0882)
OKLCHoklch(46.6% 0.09 102)
XYZxyz(9.0982, 10.2324, 2.0260)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B11 #111A64
analogous
#643111 #645B11 #436411
triadic
#645B11 #11645B #5B1164
tetradic
#645B11 #116431 #111A64 #641143
square
#645B11 #116431 #111A64 #641143
split-complementary
#645B11 #114364 #311164
monochromatic
#1A1804 #302B08 #645B11 #988B1A #CDBA23

Accessibility & contrast

On white

6.89
#645B11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#645B11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645B11
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645B11#FFFFFF#000000##FFFFFF
##645B111.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645801
Deuteranopia (green-blind)
#675C17
Tritanopia (blue-blind)
#6C544D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645b11;
/* rgb */ color: rgb(100, 91, 17);
/* oklch */ color: oklch(46.6% 0.090 102.0);
Tailwind
colors: {
  custom: {
    50: '#938956',
    500: '#645b11',
    950: '#000000',
  },
}
SCSS
$custom: #645b11;
$custom-light: #938956;
$custom-dark: #000000;
JSON
{
  "hex": "#645b11",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 53.494,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46598,
    "c": 0.09019,
    "h": 102
  },
  "luminance": 0.10232
}

Semantic roles & 50–950 ramp

primary
#645B11
secondary
#35409C
accent
#4EEE3A
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645B11

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

Preview Lab → · Contrast checker → · Palette generator →

#645B11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva