#645F11#645F11

#645F11 is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.6% C 0.094 H 105.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#645F11
RGBrgb(100, 95, 17)
HSLhsl(56, 71%, 23%)
HSVhsv(56, 83%, 39%)
CMYKcmyk(0%, 5%, 83%, 60.8%)
CIE-LABlab(39.47, -7.47, 41.64)
CIE-LCHlch(39.47, 42.30, 100.17°)
OKLaboklab(47.56% -0.0253 0.0906)
OKLCHoklch(47.56% 0.094 105.6)
XYZxyz(9.4493, 10.9346, 2.1430)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F11 #111664
analogous
#643611 #645F11 #3F6411
triadic
#645F11 #11645F #5F1164
tetradic
#645F11 #116436 #111664 #64113F
square
#645F11 #116436 #111664 #64113F
split-complementary
#645F11 #113F64 #361164
monochromatic
#1A1904 #302D08 #645F11 #98911A #CDC223

Accessibility & contrast

On white

6.59
#645F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#645F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645F11
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645F11#FFFFFF#000000##FFFFFF
##645F111.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#6A5E17
Tritanopia (blue-blind)
#6C5851
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645f11;
/* rgb */ color: rgb(100, 95, 17);
/* oklch */ color: oklch(47.6% 0.094 105.6);
Tailwind
colors: {
  custom: {
    50: '#938c57',
    500: '#645f11',
    950: '#000000',
  },
}
SCSS
$custom: #645f11;
$custom-light: #938c57;
$custom-dark: #000000;
JSON
{
  "hex": "#645f11",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 56.386,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47564,
    "c": 0.09402,
    "h": 105.6
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#645F11
secondary
#353B9C
accent
#45EE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #645F11

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

Preview Lab → · Contrast checker → · Palette generator →

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