#645B16#645B16

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

Color values

HEX#645B16
RGBrgb(100, 91, 22)
HSLhsl(53, 64%, 24%)
HSVhsv(53, 78%, 39%)
CMYKcmyk(0%, 9%, 78%, 60.8%)
CIE-LABlab(38.29, -4.91, 38.67)
CIE-LCHlch(38.29, 38.98, 97.23°)
OKLaboklab(46.63% -0.0176 0.0853)
OKLCHoklch(46.63% 0.087 101.6)
XYZxyz(9.1419, 10.2498, 2.2558)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B16 #161F64
analogous
#643416 #645B16 #466416
triadic
#645B16 #16645B #5B1664
tetradic
#645B16 #166434 #161F64 #641646
square
#645B16 #166434 #161F64 #641646
split-complementary
#645B16 #164664 #341664
monochromatic
#191706 #322D0B #645B16 #968921 #C8B62C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645B16#FFFFFF#000000##FFFFFF
##645B161.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)
#64580A
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#6C544E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645b16;
/* rgb */ color: rgb(100, 91, 22);
/* oklch */ color: oklch(46.6% 0.087 101.6);
Tailwind
colors: {
  custom: {
    50: '#938959',
    500: '#645b16',
    950: '#000000',
  },
}
SCSS
$custom: #645b16;
$custom-light: #938959;
$custom-dark: #000000;
JSON
{
  "hex": "#645b16",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 22
  },
  "hsl": {
    "h": 53.077,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46632,
    "c": 0.08709,
    "h": 101.6
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#645B16
secondary
#3B469B
accent
#54E741
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645B16

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

Preview Lab → · Contrast checker → · Palette generator →

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