#645D19#645D19

#645D19 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 47.1% C 0.087 H 103.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#645D19
RGBrgb(100, 93, 25)
HSLhsl(54, 60%, 25%)
HSVhsv(54, 75%, 39%)
CMYKcmyk(0%, 7%, 75%, 60.8%)
CIE-LABlab(38.91, -5.92, 38.02)
CIE-LCHlch(38.91, 38.48, 98.85°)
OKLaboklab(47.14% -0.0201 0.0846)
OKLCHoklch(47.14% 0.087 103.4)
XYZxyz(9.3457, 10.6086, 2.4749)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645D19 #192064
analogous
#643819 #645D19 #466419
triadic
#645D19 #19645D #5D1964
tetradic
#645D19 #196438 #192064 #641946
square
#645D19 #196438 #192064 #641946
split-complementary
#645D19 #194664 #381964
monochromatic
#181706 #332F0D #645D19 #958B25 #C6B831

Accessibility & contrast

On white

6.73
#645D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#645D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645D19
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645D19#FFFFFF#000000##FFFFFF
##645D191.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0E
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#6C5650
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645d19;
/* rgb */ color: rgb(100, 93, 25);
/* oklch */ color: oklch(47.1% 0.087 103.4);
Tailwind
colors: {
  custom: {
    50: '#938a5b',
    500: '#645d19',
    950: '#000000',
  },
}
SCSS
$custom: #645d19;
$custom-light: #938a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#645d19",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 54.4,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47136,
    "c": 0.0869,
    "h": 103.4
  },
  "luminance": 0.10608
}

Semantic roles & 50–950 ramp

primary
#645D19
secondary
#3F479A
accent
#53E345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645D19

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

Preview Lab → · Contrast checker → · Palette generator →

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