#645F1E#645F1E

#645F1E is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.7% C 0.085 H 104.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#645F1E
RGBrgb(100, 95, 30)
HSLhsl(56, 54%, 25%)
HSVhsv(56, 70%, 39%)
CMYKcmyk(0%, 5%, 70%, 60.8%)
CIE-LABlab(39.56, -6.77, 36.45)
CIE-LCHlch(39.56, 37.08, 100.52°)
OKLaboklab(47.66% -0.0219 0.0822)
OKLCHoklch(47.66% 0.085 104.9)
XYZxyz(9.5824, 10.9878, 2.8441)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F1E #1E2364
analogous
#643C1E #645F1E #46641E
triadic
#645F1E #1E645F #5F1E64
tetradic
#645F1E #1E643C #1E2364 #641E46
square
#645F1E #1E643C #1E2364 #641E46
split-complementary
#645F1E #1E4664 #3C1E64
monochromatic
#181607 #353210 #645F1E #938C2C #C2B83A

Accessibility & contrast

On white

6.57
#645F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#645F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645F1E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645F1E#FFFFFF#000000##FFFFFF
##645F1E1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C15
Deuteranopia (green-blind)
#695F22
Tritanopia (blue-blind)
#6C5852
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645f1e;
/* rgb */ color: rgb(100, 95, 30);
/* oklch */ color: oklch(47.7% 0.085 104.9);
Tailwind
colors: {
  custom: {
    50: '#938c5e',
    500: '#645f1e',
    950: '#000000',
  },
}
SCSS
$custom: #645f1e;
$custom-light: #938c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#645f1e",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 30
  },
  "hsl": {
    "h": 55.714,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47664,
    "c": 0.08505,
    "h": 104.9
  },
  "luminance": 0.10987
}

Semantic roles & 50–950 ramp

primary
#645F1E
secondary
#454B99
accent
#55DD4B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #645F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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