#645D10#645D10

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

Color values

HEX#645D10
RGBrgb(100, 93, 16)
HSLhsl(55, 72%, 23%)
HSVhsv(55, 84%, 39%)
CMYKcmyk(0%, 7%, 84%, 60.8%)
CIE-LABlab(38.86, -6.35, 41.43)
CIE-LCHlch(38.86, 41.91, 98.71°)
OKLaboklab(47.07% -0.0222 0.0899)
OKLCHoklch(47.07% 0.093 103.9)
XYZxyz(9.2638, 10.5758, 2.0435)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645D10 #101764
analogous
#643310 #645D10 #416410
triadic
#645D10 #10645D #5D1064
tetradic
#645D10 #106433 #101764 #641041
square
#645D10 #106433 #101764 #641041
split-complementary
#645D10 #104164 #331064
monochromatic
#1A1904 #2F2C08 #645D10 #998E18 #CEBF21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645D10#FFFFFF#000000##FFFFFF
##645D101.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)
#685D16
Tritanopia (blue-blind)
#6C564F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645d10;
/* rgb */ color: rgb(100, 93, 16);
/* oklch */ color: oklch(47.1% 0.093 103.9);
Tailwind
colors: {
  custom: {
    50: '#938a56',
    500: '#645d10',
    950: '#000000',
  },
}
SCSS
$custom: #645d10;
$custom-light: #938a56;
$custom-dark: #000000;
JSON
{
  "hex": "#645d10",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 55,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47073,
    "c": 0.09261,
    "h": 103.9
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#645D10
secondary
#333C9D
accent
#48EF39
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645D10

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

Preview Lab → · Contrast checker → · Palette generator →

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