#645E1F#645E1F

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

Color values

HEX#645E1F
RGBrgb(100, 94, 31)
HSLhsl(55, 53%, 26%)
HSVhsv(55, 69%, 39%)
CMYKcmyk(0%, 6%, 69%, 60.8%)
CIE-LABlab(39.27, -6.12, 35.68)
CIE-LCHlch(39.27, 36.20, 99.74°)
OKLaboklab(47.43% -0.0199 0.0807)
OKLCHoklch(47.43% 0.083 103.9)
XYZxyz(9.5059, 10.8140, 2.8826)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645E1F #1F2564
analogous
#643B1F #645E1F #47641F
triadic
#645E1F #1F645E #5E1F64
tetradic
#645E1F #1F643B #1F2564 #641F47
square
#645E1F #1F643B #1F2564 #641F47
split-complementary
#645E1F #1F4764 #3B1F64
monochromatic
#171607 #353211 #645E1F #938A2D #C1B63C

Accessibility & contrast

On white

6.64
#645E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645E1F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645E1F#FFFFFF#000000##FFFFFF
##645E1F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645e1f;
/* rgb */ color: rgb(100, 94, 31);
/* oklch */ color: oklch(47.4% 0.083 103.9);
Tailwind
colors: {
  custom: {
    50: '#928b5e',
    500: '#645e1f',
    950: '#000000',
  },
}
SCSS
$custom: #645e1f;
$custom-light: #928b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#645e1f",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 54.783,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47432,
    "c": 0.08314,
    "h": 103.9
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#645E1F
secondary
#464D98
accent
#58DC4C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #645E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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