#645C11#645C11

#645C11 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.8% C 0.091 H 102.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#645C11
RGBrgb(100, 92, 17)
HSLhsl(54, 71%, 23%)
HSVhsv(54, 83%, 39%)
CMYKcmyk(0%, 8%, 83%, 60.8%)
CIE-LABlab(38.56, -5.73, 40.82)
CIE-LCHlch(38.56, 41.22, 97.98°)
OKLaboklab(46.84% -0.0204 0.0888)
OKLCHoklch(46.84% 0.091 102.9)
XYZxyz(9.1843, 10.4045, 2.0547)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C11 #111964
analogous
#643211 #645C11 #426411
triadic
#645C11 #11645C #5C1164
tetradic
#645C11 #116432 #111964 #641142
square
#645C11 #116432 #111964 #641142
split-complementary
#645C11 #114264 #321164
monochromatic
#1A1804 #302C08 #645C11 #988C1A #CDBC23

Accessibility & contrast

On white

6.82
#645C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#645C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645C11
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C11#FFFFFF#000000##FFFFFF
##645C111.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#685C17
Tritanopia (blue-blind)
#6C554E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645c11;
/* rgb */ color: rgb(100, 92, 17);
/* oklch */ color: oklch(46.8% 0.091 102.9);
Tailwind
colors: {
  custom: {
    50: '#938957',
    500: '#645c11',
    950: '#000000',
  },
}
SCSS
$custom: #645c11;
$custom-light: #938957;
$custom-dark: #000000;
JSON
{
  "hex": "#645c11",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 54.217,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.09111,
    "h": 102.9
  },
  "luminance": 0.10404
}

Semantic roles & 50–950 ramp

primary
#645C11
secondary
#353F9C
accent
#4BEE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645C11

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

Preview Lab → · Contrast checker → · Palette generator →

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