#645A17#645A17

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

Color values

HEX#645A17
RGBrgb(100, 90, 23)
HSLhsl(52, 63%, 24%)
HSVhsv(52, 77%, 39%)
CMYKcmyk(0%, 10%, 77%, 60.8%)
CIE-LABlab(37.99, -4.27, 37.97)
CIE-LCHlch(37.99, 38.21, 96.41°)
OKLaboklab(46.4% -0.0156 0.084)
OKLCHoklch(46.4% 0.085 100.5)
XYZxyz(9.0668, 10.0839, 2.2793)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A17 #172164
analogous
#643417 #645A17 #486417
triadic
#645A17 #17645A #5A1764
tetradic
#645A17 #176434 #172164 #641748
square
#645A17 #176434 #172164 #641748
split-complementary
#645A17 #174864 #341764
monochromatic
#191606 #322D0C #645A17 #968722 #C8B42E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645A17#FFFFFF#000000##FFFFFF
##645A171.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)
#63570C
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#6C534D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #645a17;
/* rgb */ color: rgb(100, 90, 23);
/* oklch */ color: oklch(46.4% 0.085 100.5);
Tailwind
colors: {
  custom: {
    50: '#938859',
    500: '#645a17',
    950: '#000000',
  },
}
SCSS
$custom: #645a17;
$custom-light: #938859;
$custom-dark: #000000;
JSON
{
  "hex": "#645a17",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 52.208,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46401,
    "c": 0.08547,
    "h": 100.5
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#645A17
secondary
#3C499A
accent
#57E642
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645A17

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

Preview Lab → · Contrast checker → · Palette generator →

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