#645C10#645C10

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

Color values

HEX#645C10
RGBrgb(100, 92, 16)
HSLhsl(54, 72%, 23%)
HSVhsv(54, 84%, 39%)
CMYKcmyk(0%, 8%, 84%, 60.8%)
CIE-LABlab(38.55, -5.77, 41.16)
CIE-LCHlch(38.55, 41.56, 97.97°)
OKLaboklab(46.83% -0.0206 0.0893)
OKLCHoklch(46.83% 0.092 103)
XYZxyz(9.1766, 10.4014, 2.0144)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C10 #101864
analogous
#643210 #645C10 #426410
triadic
#645C10 #10645C #5C1064
tetradic
#645C10 #106432 #101864 #641042
square
#645C10 #106432 #101864 #641042
split-complementary
#645C10 #104264 #321064
monochromatic
#1A1804 #2F2B08 #645C10 #998D18 #CEBD21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645C10#FFFFFF#000000##FFFFFF
##645C101.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)
#655900
Deuteranopia (green-blind)
#685C16
Tritanopia (blue-blind)
#6C554E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645c10;
/* rgb */ color: rgb(100, 92, 16);
/* oklch */ color: oklch(46.8% 0.092 103.0);
Tailwind
colors: {
  custom: {
    50: '#938956',
    500: '#645c10',
    950: '#000000',
  },
}
SCSS
$custom: #645c10;
$custom-light: #938956;
$custom-dark: #000000;
JSON
{
  "hex": "#645c10",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 54.286,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46832,
    "c": 0.09167,
    "h": 103
  },
  "luminance": 0.10401
}

Semantic roles & 50–950 ramp

primary
#645C10
secondary
#333D9D
accent
#4AEF39
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645C10

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

Preview Lab → · Contrast checker → · Palette generator →

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