#645B17#645B17

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

Color values

HEX#645B17
RGBrgb(100, 91, 23)
HSLhsl(53, 63%, 24%)
HSVhsv(53, 77%, 39%)
CMYKcmyk(0%, 9%, 77%, 60.8%)
CIE-LABlab(38.29, -4.86, 38.26)
CIE-LCHlch(38.29, 38.57, 97.23°)
OKLaboklab(46.64% -0.0173 0.0847)
OKLCHoklch(46.64% 0.086 101.6)
XYZxyz(9.1517, 10.2538, 2.3076)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B17 #172064
analogous
#643517 #645B17 #476417
triadic
#645B17 #17645B #5B1764
tetradic
#645B17 #176435 #172064 #641747
square
#645B17 #176435 #172064 #641747
split-complementary
#645B17 #174764 #351764
monochromatic
#191706 #322E0C #645B17 #968822 #C8B62E

Accessibility & contrast

On white

6.88
#645B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645B17
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645B17#FFFFFF#000000##FFFFFF
##645B171.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580B
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#6C544E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645b17;
/* rgb */ color: rgb(100, 91, 23);
/* oklch */ color: oklch(46.6% 0.086 101.6);
Tailwind
colors: {
  custom: {
    50: '#938959',
    500: '#645b17',
    950: '#000000',
  },
}
SCSS
$custom: #645b17;
$custom-light: #938959;
$custom-dark: #000000;
JSON
{
  "hex": "#645b17",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 52.987,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4664,
    "c": 0.0864,
    "h": 101.6
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#645B17
secondary
#3C479A
accent
#55E642
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645B17

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

Preview Lab → · Contrast checker → · Palette generator →

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