#645E19#645E19

#645E19 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.4% C 0.088 H 104.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#645E19
RGBrgb(100, 94, 25)
HSLhsl(55, 60%, 25%)
HSVhsv(55, 75%, 39%)
CMYKcmyk(0%, 6%, 75%, 60.8%)
CIE-LABlab(39.22, -6.50, 38.32)
CIE-LCHlch(39.22, 38.87, 99.62°)
OKLaboklab(47.38% -0.0217 0.0852)
OKLCHoklch(47.38% 0.088 104.3)
XYZxyz(9.4341, 10.7853, 2.5043)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645E19 #191F64
analogous
#643919 #645E19 #456419
triadic
#645E19 #19645E #5E1964
tetradic
#645E19 #196439 #191F64 #641945
square
#645E19 #196439 #191F64 #641945
split-complementary
#645E19 #194564 #391964
monochromatic
#181706 #33300D #645E19 #958C25 #C6BA31

Accessibility & contrast

On white

6.65
#645E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#645E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645E19
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645E19#FFFFFF#000000##FFFFFF
##645E191.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0E
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#6C5750
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645e19;
/* rgb */ color: rgb(100, 94, 25);
/* oklch */ color: oklch(47.4% 0.088 104.3);
Tailwind
colors: {
  custom: {
    50: '#938b5b',
    500: '#645e19',
    950: '#000000',
  },
}
SCSS
$custom: #645e19;
$custom-light: #938b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#645e19",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 25
  },
  "hsl": {
    "h": 55.2,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47378,
    "c": 0.08791,
    "h": 104.3
  },
  "luminance": 0.10785
}

Semantic roles & 50–950 ramp

primary
#645E19
secondary
#3F469A
accent
#51E345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645E19

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

Preview Lab → · Contrast checker → · Palette generator →

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