#645A16#645A16

#645A16 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.4% C 0.086 H 100.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#645A16
RGBrgb(100, 90, 22)
HSLhsl(52, 64%, 24%)
HSVhsv(52, 78%, 39%)
CMYKcmyk(0%, 10%, 78%, 60.8%)
CIE-LABlab(37.99, -4.32, 38.38)
CIE-LCHlch(37.99, 38.62, 96.42°)
OKLaboklab(46.39% -0.0159 0.0847)
OKLCHoklch(46.39% 0.086 100.6)
XYZxyz(9.0569, 10.0800, 2.2275)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A16 #162064
analogous
#643316 #645A16 #476416
triadic
#645A16 #16645A #5A1664
tetradic
#645A16 #166433 #162064 #641647
square
#645A16 #166433 #162064 #641647
split-complementary
#645A16 #164764 #331664
monochromatic
#191706 #322D0B #645A16 #968721 #C8B42C

Accessibility & contrast

On white

6.96
#645A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#645A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A16
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A16#FFFFFF#000000##FFFFFF
##645A161.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570A
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#6C534D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #645a16;
/* rgb */ color: rgb(100, 90, 22);
/* oklch */ color: oklch(46.4% 0.086 100.6);
Tailwind
colors: {
  custom: {
    50: '#938859',
    500: '#645a16',
    950: '#000000',
  },
}
SCSS
$custom: #645a16;
$custom-light: #938859;
$custom-dark: #000000;
JSON
{
  "hex": "#645a16",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 22
  },
  "hsl": {
    "h": 52.308,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46393,
    "c": 0.08616,
    "h": 100.6
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#645A16
secondary
#3B479B
accent
#56E741
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645A16

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

Preview Lab → · Contrast checker → · Palette generator →

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