#645A10#645A10

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

Color values

HEX#645A10
RGBrgb(100, 90, 16)
HSLhsl(53, 72%, 23%)
HSVhsv(53, 84%, 39%)
CMYKcmyk(0%, 10%, 84%, 60.8%)
CIE-LABlab(37.95, -4.59, 40.62)
CIE-LCHlch(37.95, 40.88, 96.45°)
OKLaboklab(46.35% -0.0173 0.0882)
OKLCHoklch(46.35% 0.09 101.1)
XYZxyz(9.0057, 10.0595, 1.9574)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A10 #101A64
analogous
#643010 #645A10 #446410
triadic
#645A10 #10645A #5A1064
tetradic
#645A10 #106430 #101A64 #641044
square
#645A10 #106430 #101A64 #641044
split-complementary
#645A10 #104464 #301064
monochromatic
#1A1804 #2F2B08 #645A10 #998918 #CEB921

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645A10#FFFFFF#000000##FFFFFF
##645A101.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)
#635700
Deuteranopia (green-blind)
#665B16
Tritanopia (blue-blind)
#6C534C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #645a10;
/* rgb */ color: rgb(100, 90, 16);
/* oklch */ color: oklch(46.4% 0.090 101.1);
Tailwind
colors: {
  custom: {
    50: '#938856',
    500: '#645a10',
    950: '#000000',
  },
}
SCSS
$custom: #645a10;
$custom-light: #938856;
$custom-dark: #000000;
JSON
{
  "hex": "#645a10",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 52.857,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46352,
    "c": 0.08984,
    "h": 101.1
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#645A10
secondary
#33409D
accent
#4EEF39
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645A10

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

Preview Lab → · Contrast checker → · Palette generator →

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