#645117#645117

#645117 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.3% C 0.078 H 90.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#645117
RGBrgb(100, 81, 23)
HSLhsl(45, 63%, 24%)
HSVhsv(45, 77%, 39%)
CMYKcmyk(0%, 19%, 77%, 60.8%)
CIE-LABlab(35.31, 1.12, 35.34)
CIE-LCHlch(35.31, 35.36, 88.19°)
OKLaboklab(44.28% -0.0003 0.0785)
OKLCHoklch(44.28% 0.078 90.2)
XYZxyz(8.3531, 8.6566, 2.0414)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645117 #172A64
analogous
#642B17 #645117 #516417
triadic
#645117 #176451 #511764
tetradic
#645117 #17642B #172A64 #641751
square
#645117 #17642B #172A64 #641751
split-complementary
#645117 #175164 #2B1764
monochromatic
#191406 #32290C #645117 #967922 #C8A22E

Accessibility & contrast

On white

7.69
#645117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#645117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645117
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645117#FFFFFF#000000##FFFFFF
##6451171.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500E
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#6D4A45
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #645117;
/* rgb */ color: rgb(100, 81, 23);
/* oklch */ color: oklch(44.3% 0.078 90.2);
Tailwind
colors: {
  custom: {
    50: '#938158',
    500: '#645117',
    950: '#000000',
  },
}
SCSS
$custom: #645117;
$custom-light: #938158;
$custom-dark: #000000;
JSON
{
  "hex": "#645117",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 45.195,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44282,
    "c": 0.07846,
    "h": 90.2
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#645117
secondary
#3C549A
accent
#6AE642
background
#F9F7F5
surface
#F2EEE9
border
#CCC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #645117

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

Preview Lab → · Contrast checker → · Palette generator →

#645117 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva