#645B1B#645B1B

#645B1B is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.7% C 0.083 H 101.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#645B1B
RGBrgb(100, 91, 27)
HSLhsl(53, 57%, 25%)
HSVhsv(53, 73%, 39%)
CMYKcmyk(0%, 9%, 73%, 60.8%)
CIE-LABlab(38.32, -4.63, 36.55)
CIE-LCHlch(38.32, 36.85, 97.22°)
OKLaboklab(46.67% -0.0162 0.0818)
OKLCHoklch(46.67% 0.083 101.2)
XYZxyz(9.1948, 10.2710, 2.5349)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B1B #1B2464
analogous
#64371B #645B1B #48641B
triadic
#645B1B #1B645B #5B1B64
tetradic
#645B1B #1B6437 #1B2464 #641B48
square
#645B1B #1B6437 #1B2464 #641B48
split-complementary
#645B1B #1B4864 #371B64
monochromatic
#181607 #342F0E #645B1B #948728 #C4B335

Accessibility & contrast

On white

6.88
#645B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#645B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645B1B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645B1B#FFFFFF#000000##FFFFFF
##645B1B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645812
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#6C544E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645b1b;
/* rgb */ color: rgb(100, 91, 27);
/* oklch */ color: oklch(46.7% 0.083 101.2);
Tailwind
colors: {
  custom: {
    50: '#93895c',
    500: '#645b1b',
    950: '#000000',
  },
}
SCSS
$custom: #645b1b;
$custom-light: #93895c;
$custom-dark: #000000;
JSON
{
  "hex": "#645b1b",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 27
  },
  "hsl": {
    "h": 52.603,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46674,
    "c": 0.08342,
    "h": 101.2
  },
  "luminance": 0.10271
}

Semantic roles & 50–950 ramp

primary
#645B1B
secondary
#414C99
accent
#5AE147
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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