#645E14#645E14

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

Color values

HEX#645E14
RGBrgb(100, 94, 20)
HSLhsl(56, 67%, 24%)
HSVhsv(56, 80%, 39%)
CMYKcmyk(0%, 6%, 80%, 60.8%)
CIE-LABlab(39.18, -6.76, 40.30)
CIE-LCHlch(39.18, 40.86, 99.52°)
OKLaboklab(47.34% -0.023 0.0883)
OKLCHoklch(47.34% 0.091 104.6)
XYZxyz(9.3849, 10.7656, 2.2453)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645E14 #141A64
analogous
#643614 #645E14 #426414
triadic
#645E14 #14645E #5E1464
tetradic
#645E14 #146436 #141A64 #641442
square
#645E14 #146436 #141A64 #641442
split-complementary
#645E14 #144264 #361464
monochromatic
#1A1805 #312E0A #645E14 #978E1E #CABE28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645E14#FFFFFF#000000##FFFFFF
##645E141.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)
#675A05
Deuteranopia (green-blind)
#695E1A
Tritanopia (blue-blind)
#6C5750
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645e14;
/* rgb */ color: rgb(100, 94, 20);
/* oklch */ color: oklch(47.3% 0.091 104.6);
Tailwind
colors: {
  custom: {
    50: '#938b58',
    500: '#645e14',
    950: '#000000',
  },
}
SCSS
$custom: #645e14;
$custom-light: #938b58;
$custom-dark: #000000;
JSON
{
  "hex": "#645e14",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 20
  },
  "hsl": {
    "h": 55.5,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4734,
    "c": 0.09127,
    "h": 104.6
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#645E14
secondary
#38409B
accent
#4BEA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645E14

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

Preview Lab → · Contrast checker → · Palette generator →

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