#645E1C#645E1C

#645E1C is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.4% C 0.086 H 104.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#645E1C
RGBrgb(100, 94, 28)
HSLhsl(55, 56%, 25%)
HSVhsv(55, 72%, 39%)
CMYKcmyk(0%, 6%, 72%, 60.8%)
CIE-LABlab(39.24, -6.32, 37.03)
CIE-LCHlch(39.24, 37.57, 99.68°)
OKLaboklab(47.4% -0.0209 0.083)
OKLCHoklch(47.4% 0.086 104.1)
XYZxyz(9.4682, 10.7989, 2.6840)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645E1C #1C2264
analogous
#643A1C #645E1C #46641C
triadic
#645E1C #1C645E #5E1C64
tetradic
#645E1C #1C643A #1C2264 #641C46
square
#645E1C #1C643A #1C2264 #641C46
split-complementary
#645E1C #1C4664 #3A1C64
monochromatic
#181607 #34310F #645E1C #948B29 #C4B837

Accessibility & contrast

On white

6.65
#645E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#645E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645E1C
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645E1C#FFFFFF#000000##FFFFFF
##645E1C1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B13
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#6C5751
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645e1c;
/* rgb */ color: rgb(100, 94, 28);
/* oklch */ color: oklch(47.4% 0.086 104.1);
Tailwind
colors: {
  custom: {
    50: '#938b5c',
    500: '#645e1c',
    950: '#000000',
  },
}
SCSS
$custom: #645e1c;
$custom-light: #938b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#645e1c",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 28
  },
  "hsl": {
    "h": 55,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47404,
    "c": 0.08562,
    "h": 104.1
  },
  "luminance": 0.10799
}

Semantic roles & 50–950 ramp

primary
#645E1C
secondary
#434A99
accent
#55E048
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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