#645218#645218

#645218 is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.5% C 0.078 H 91.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#645218
RGBrgb(100, 82, 24)
HSLhsl(46, 61%, 24%)
HSVhsv(46, 76%, 39%)
CMYKcmyk(0%, 18%, 76%, 60.8%)
CIE-LABlab(35.62, 0.57, 35.19)
CIE-LCHlch(35.62, 35.19, 89.08°)
OKLaboklab(44.52% -0.0017 0.0784)
OKLCHoklch(44.52% 0.078 91.3)
XYZxyz(8.4382, 8.8104, 2.1201)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645218 #182A64
analogous
#642C18 #645218 #506418
triadic
#645218 #186452 #521864
tetradic
#645218 #18642C #182A64 #641850
square
#645218 #18642C #182A64 #641850
split-complementary
#645218 #185064 #2C1864
monochromatic
#191406 #332A0C #645218 #957A24 #C7A330

Accessibility & contrast

On white

7.60
#645218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#645218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645218
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645218#FFFFFF#000000##FFFFFF
##6452181.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5110
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#6D4B46
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #645218;
/* rgb */ color: rgb(100, 82, 24);
/* oklch */ color: oklch(44.5% 0.078 91.3);
Tailwind
colors: {
  custom: {
    50: '#938259',
    500: '#645218',
    950: '#000000',
  },
}
SCSS
$custom: #645218;
$custom-light: #938259;
$custom-dark: #000000;
JSON
{
  "hex": "#645218",
  "rgb": {
    "r": 100,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 45.789,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44523,
    "c": 0.07837,
    "h": 91.3
  },
  "luminance": 0.0881
}

Semantic roles & 50–950 ramp

primary
#645218
secondary
#3E549A
accent
#6AE443
background
#F9F7F5
surface
#F2EEE9
border
#CCC9C5
text
#0D0A04
muted
#7E7C79

Preview Lab

Preview with #645218

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

Preview Lab → · Contrast checker → · Palette generator →

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