#645A14#645A14

#645A14 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.4% C 0.087 H 100.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#645A14
RGBrgb(100, 90, 20)
HSLhsl(53, 67%, 24%)
HSVhsv(53, 80%, 39%)
CMYKcmyk(0%, 10%, 80%, 60.8%)
CIE-LABlab(37.97, -4.42, 39.17)
CIE-LCHlch(37.97, 39.42, 96.44°)
OKLaboklab(46.38% -0.0164 0.0859)
OKLCHoklch(46.38% 0.087 100.8)
XYZxyz(9.0384, 10.0726, 2.1298)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A14 #141E64
analogous
#643214 #645A14 #466414
triadic
#645A14 #14645A #5A1464
tetradic
#645A14 #146432 #141E64 #641446
square
#645A14 #146432 #141E64 #641446
split-complementary
#645A14 #144664 #321464
monochromatic
#1A1705 #312C0A #645A14 #97881E #CAB628

Accessibility & contrast

On white

6.97
#645A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#645A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A14
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A14#FFFFFF#000000##FFFFFF
##645A141.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635706
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#6C534D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #645a14;
/* rgb */ color: rgb(100, 90, 20);
/* oklch */ color: oklch(46.4% 0.087 100.8);
Tailwind
colors: {
  custom: {
    50: '#938858',
    500: '#645a14',
    950: '#000000',
  },
}
SCSS
$custom: #645a14;
$custom-light: #938858;
$custom-dark: #000000;
JSON
{
  "hex": "#645a14",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 52.5,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46378,
    "c": 0.08748,
    "h": 100.8
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#645A14
secondary
#38459B
accent
#54EA3E
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645A14

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

Preview Lab → · Contrast checker → · Palette generator →

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