#645E15#645E15

#645E15 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.3% C 0.091 H 104.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#645E15
RGBrgb(100, 94, 21)
HSLhsl(55, 65%, 24%)
HSVhsv(55, 79%, 39%)
CMYKcmyk(0%, 6%, 79%, 60.8%)
CIE-LABlab(39.19, -6.71, 39.92)
CIE-LCHlch(39.19, 40.48, 99.54°)
OKLaboklab(47.35% -0.0227 0.0878)
OKLCHoklch(47.35% 0.091 104.5)
XYZxyz(9.3940, 10.7693, 2.2932)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645E15 #151B64
analogous
#643615 #645E15 #426415
triadic
#645E15 #15645E #5E1564
tetradic
#645E15 #156436 #151B64 #641542
square
#645E15 #156436 #151B64 #641542
split-complementary
#645E15 #154264 #361564
monochromatic
#191805 #312E0A #645E15 #978E20 #C9BD2A

Accessibility & contrast

On white

6.66
#645E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#645E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645E15
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645E15#FFFFFF#000000##FFFFFF
##645E151.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645e15;
/* rgb */ color: rgb(100, 94, 21);
/* oklch */ color: oklch(47.3% 0.091 104.5);
Tailwind
colors: {
  custom: {
    50: '#938b59',
    500: '#645e15',
    950: '#000000',
  },
}
SCSS
$custom: #645e15;
$custom-light: #938b59;
$custom-dark: #000000;
JSON
{
  "hex": "#645e15",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 55.443,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47347,
    "c": 0.09065,
    "h": 104.5
  },
  "luminance": 0.10769
}

Semantic roles & 50–950 ramp

primary
#645E15
secondary
#3A419B
accent
#4CE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645E15

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

Preview Lab → · Contrast checker → · Palette generator →

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