#645118#645118

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

Color values

HEX#645118
RGBrgb(100, 81, 24)
HSLhsl(45, 61%, 24%)
HSVhsv(45, 76%, 39%)
CMYKcmyk(0%, 19%, 76%, 60.8%)
CIE-LABlab(35.32, 1.17, 34.89)
CIE-LCHlch(35.32, 34.91, 88.07°)
OKLaboklab(44.29% 0 0.0777)
OKLCHoklch(44.29% 0.078 90)
XYZxyz(8.3633, 8.6606, 2.0951)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645118 #182B64
analogous
#642B18 #645118 #516418
triadic
#645118 #186451 #511864
tetradic
#645118 #18642B #182B64 #641851
square
#645118 #18642B #182B64 #641851
split-complementary
#645118 #185164 #2B1864
monochromatic
#191406 #33290C #645118 #957924 #C7A130

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645118#FFFFFF#000000##FFFFFF
##6451181.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)
#5B5010
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#6D4A45
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #645118;
/* rgb */ color: rgb(100, 81, 24);
/* oklch */ color: oklch(44.3% 0.078 90.0);
Tailwind
colors: {
  custom: {
    50: '#938159',
    500: '#645118',
    950: '#000000',
  },
}
SCSS
$custom: #645118;
$custom-light: #938159;
$custom-dark: #000000;
JSON
{
  "hex": "#645118",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 45,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44291,
    "c": 0.07772,
    "h": 90
  },
  "luminance": 0.0866
}

Semantic roles & 50–950 ramp

primary
#645118
secondary
#3E559A
accent
#6CE443
background
#F9F7F5
surface
#F2EEE9
border
#CCC9C5
text
#0D0A04
muted
#7E7C79

Preview Lab

Preview with #645118

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

Preview Lab → · Contrast checker → · Palette generator →

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