#645F1B#645F1B

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

Color values

HEX#645F1B
RGBrgb(100, 95, 27)
HSLhsl(56, 57%, 25%)
HSVhsv(56, 73%, 39%)
CMYKcmyk(0%, 5%, 73%, 60.8%)
CIE-LABlab(39.54, -6.96, 37.78)
CIE-LCHlch(39.54, 38.41, 100.44°)
OKLaboklab(47.64% -0.0228 0.0844)
OKLCHoklch(47.64% 0.087 105.1)
XYZxyz(9.5459, 10.9732, 2.6519)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F1B #1B2064
analogous
#643A1B #645F1B #45641B
triadic
#645F1B #1B645F #5F1B64
tetradic
#645F1B #1B643A #1B2064 #641B45
square
#645F1B #1B643A #1B2064 #641B45
split-complementary
#645F1B #1B4564 #3A1B64
monochromatic
#181707 #34310E #645F1B #948D28 #C4BB35

Accessibility & contrast

On white

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

On black

3.19
#645F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##645F1B#FFFFFF#000000##FFFFFF
##645F1B1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B11
Deuteranopia (green-blind)
#6A5E1F
Tritanopia (blue-blind)
#6C5851
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645f1b;
/* rgb */ color: rgb(100, 95, 27);
/* oklch */ color: oklch(47.6% 0.087 105.1);
Tailwind
colors: {
  custom: {
    50: '#938c5c',
    500: '#645f1b',
    950: '#000000',
  },
}
SCSS
$custom: #645f1b;
$custom-light: #938c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#645f1b",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 55.89,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.08744,
    "h": 105.1
  },
  "luminance": 0.10973
}

Semantic roles & 50–950 ramp

primary
#645F1B
secondary
#414799
accent
#52E147
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #645F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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