#645D11#645D11

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

Color values

HEX#645D11
RGBrgb(100, 93, 17)
HSLhsl(55, 71%, 23%)
HSVhsv(55, 83%, 39%)
CMYKcmyk(0%, 7%, 83%, 60.8%)
CIE-LABlab(38.86, -6.31, 41.09)
CIE-LCHlch(38.86, 41.57, 98.73°)
OKLaboklab(47.08% -0.022 0.0894)
OKLCHoklch(47.08% 0.092 103.8)
XYZxyz(9.2715, 10.5789, 2.0838)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645D11 #111864
analogous
#643311 #645D11 #416411
triadic
#645D11 #11645D #5D1164
tetradic
#645D11 #116433 #111864 #641141
square
#645D11 #116433 #111864 #641141
split-complementary
#645D11 #114164 #331164
monochromatic
#1A1804 #302C08 #645D11 #988E1A #CDBE23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645D11#FFFFFF#000000##FFFFFF
##645D111.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)
#665A00
Deuteranopia (green-blind)
#685D17
Tritanopia (blue-blind)
#6C564F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645d11;
/* rgb */ color: rgb(100, 93, 17);
/* oklch */ color: oklch(47.1% 0.092 103.8);
Tailwind
colors: {
  custom: {
    50: '#938a57',
    500: '#645d11',
    950: '#000000',
  },
}
SCSS
$custom: #645d11;
$custom-light: #938a57;
$custom-dark: #000000;
JSON
{
  "hex": "#645d11",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 54.94,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47079,
    "c": 0.09206,
    "h": 103.8
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#645D11
secondary
#353D9C
accent
#49EE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645D11

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

Preview Lab → · Contrast checker → · Palette generator →

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