#645A11#645A11

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

Color values

HEX#645A11
RGBrgb(100, 90, 17)
HSLhsl(53, 71%, 23%)
HSVhsv(53, 83%, 39%)
CMYKcmyk(0%, 10%, 83%, 60.8%)
CIE-LABlab(37.95, -4.55, 40.28)
CIE-LCHlch(37.95, 40.53, 96.45°)
OKLaboklab(46.36% -0.0171 0.0876)
OKLCHoklch(46.36% 0.089 101)
XYZxyz(9.0133, 10.0626, 1.9977)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A11 #111B64
analogous
#643011 #645A11 #446411
triadic
#645A11 #11645A #5A1164
tetradic
#645A11 #116430 #111B64 #641144
square
#645A11 #116430 #111B64 #641144
split-complementary
#645A11 #114464 #301164
monochromatic
#1A1804 #302B08 #645A11 #98891A #CDB823

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645A11#FFFFFF#000000##FFFFFF
##645A111.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)
#635702
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#6C534C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #645a11;
/* rgb */ color: rgb(100, 90, 17);
/* oklch */ color: oklch(46.4% 0.089 101.0);
Tailwind
colors: {
  custom: {
    50: '#938856',
    500: '#645a11',
    950: '#000000',
  },
}
SCSS
$custom: #645a11;
$custom-light: #938856;
$custom-dark: #000000;
JSON
{
  "hex": "#645a11",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 52.771,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46358,
    "c": 0.08929,
    "h": 101
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#645A11
secondary
#35419C
accent
#50EE3A
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645A11

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

Preview Lab → · Contrast checker → · Palette generator →

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