#645A19#645A19

#645A19 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.4% C 0.084 H 100.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#645A19
RGBrgb(100, 90, 25)
HSLhsl(52, 60%, 25%)
HSVhsv(52, 75%, 39%)
CMYKcmyk(0%, 10%, 75%, 60.8%)
CIE-LABlab(38.01, -4.16, 37.13)
CIE-LCHlch(38.01, 37.36, 96.39°)
OKLaboklab(46.42% -0.0151 0.0827)
OKLCHoklch(46.42% 0.084 100.3)
XYZxyz(9.0876, 10.0923, 2.3888)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A19 #192364
analogous
#643519 #645A19 #496419
triadic
#645A19 #19645A #5A1964
tetradic
#645A19 #196435 #192364 #641949
square
#645A19 #196435 #192364 #641949
split-complementary
#645A19 #194964 #351964
monochromatic
#181606 #332E0D #645A19 #958625 #C6B231

Accessibility & contrast

On white

6.96
#645A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#645A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A19
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A19#FFFFFF#000000##FFFFFF
##645A191.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570F
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#6C534D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #645a19;
/* rgb */ color: rgb(100, 90, 25);
/* oklch */ color: oklch(46.4% 0.084 100.3);
Tailwind
colors: {
  custom: {
    50: '#93885a',
    500: '#645a19',
    950: '#000000',
  },
}
SCSS
$custom: #645a19;
$custom-light: #93885a;
$custom-dark: #000000;
JSON
{
  "hex": "#645a19",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 25
  },
  "hsl": {
    "h": 52,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46417,
    "c": 0.08402,
    "h": 100.3
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#645A19
secondary
#3F4B9A
accent
#5AE345
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645A19

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

Preview Lab → · Contrast checker → · Palette generator →

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