#645B19#645B19

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

Color values

HEX#645B19
RGBrgb(100, 91, 25)
HSLhsl(53, 60%, 25%)
HSVhsv(53, 75%, 39%)
CMYKcmyk(0%, 9%, 75%, 60.8%)
CIE-LABlab(38.31, -4.75, 37.43)
CIE-LCHlch(38.31, 37.73, 97.23°)
OKLaboklab(46.66% -0.0168 0.0833)
OKLCHoklch(46.66% 0.085 101.4)
XYZxyz(9.1725, 10.2621, 2.4171)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B19 #192264
analogous
#643619 #645B19 #486419
triadic
#645B19 #19645B #5B1964
tetradic
#645B19 #196436 #192264 #641948
square
#645B19 #196436 #192264 #641948
split-complementary
#645B19 #194864 #361964
monochromatic
#181606 #332E0D #645B19 #958825 #C6B431

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645B19#FFFFFF#000000##FFFFFF
##645B191.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)
#64580F
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#6C544E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645b19;
/* rgb */ color: rgb(100, 91, 25);
/* oklch */ color: oklch(46.7% 0.085 101.4);
Tailwind
colors: {
  custom: {
    50: '#93895a',
    500: '#645b19',
    950: '#000000',
  },
}
SCSS
$custom: #645b19;
$custom-light: #93895a;
$custom-dark: #000000;
JSON
{
  "hex": "#645b19",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 25
  },
  "hsl": {
    "h": 52.8,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46656,
    "c": 0.08496,
    "h": 101.4
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#645B19
secondary
#3F4A9A
accent
#58E345
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645B19

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

Preview Lab → · Contrast checker → · Palette generator →

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