#645D14#645D14

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

Color values

HEX#645D14
RGBrgb(100, 93, 20)
HSLhsl(55, 67%, 24%)
HSVhsv(55, 80%, 39%)
CMYKcmyk(0%, 7%, 80%, 60.8%)
CIE-LABlab(38.88, -6.18, 40.02)
CIE-LCHlch(38.88, 40.49, 98.77°)
OKLaboklab(47.1% -0.0214 0.0877)
OKLCHoklch(47.1% 0.09 103.7)
XYZxyz(9.2966, 10.5889, 2.2159)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645D14 #141B64
analogous
#643514 #645D14 #436414
triadic
#645D14 #14645D #5D1464
tetradic
#645D14 #146435 #141B64 #641443
square
#645D14 #146435 #141B64 #641443
split-complementary
#645D14 #144364 #351464
monochromatic
#1A1805 #312E0A #645D14 #978C1E #CABC28

Accessibility & contrast

On white

6.74
#645D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645D14
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645D14#FFFFFF#000000##FFFFFF
##645D141.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A05
Deuteranopia (green-blind)
#685D19
Tritanopia (blue-blind)
#6C564F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645d14;
/* rgb */ color: rgb(100, 93, 20);
/* oklch */ color: oklch(47.1% 0.090 103.7);
Tailwind
colors: {
  custom: {
    50: '#938a58',
    500: '#645d14',
    950: '#000000',
  },
}
SCSS
$custom: #645d14;
$custom-light: #938a58;
$custom-dark: #000000;
JSON
{
  "hex": "#645d14",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 20
  },
  "hsl": {
    "h": 54.75,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47099,
    "c": 0.09029,
    "h": 103.7
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#645D14
secondary
#38419B
accent
#4DEA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645D14

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

Preview Lab → · Contrast checker → · Palette generator →

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