#645916#645916

#645916 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 46.2% C 0.085 H 99.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#645916
RGBrgb(100, 89, 22)
HSLhsl(52, 64%, 24%)
HSVhsv(52, 78%, 39%)
CMYKcmyk(0%, 11%, 78%, 60.8%)
CIE-LABlab(37.68, -3.73, 38.09)
CIE-LCHlch(37.68, 38.27, 95.59°)
OKLaboklab(46.15% -0.0142 0.0841)
OKLCHoklch(46.15% 0.085 99.6)
XYZxyz(8.9732, 9.9124, 2.1995)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645916 #162164
analogous
#643216 #645916 #486416
triadic
#645916 #166459 #591664
tetradic
#645916 #166432 #162164 #641648
square
#645916 #166432 #162164 #641648
split-complementary
#645916 #164864 #321664
monochromatic
#191606 #322C0B #645916 #968621 #C8B22C

Accessibility & contrast

On white

7.04
#645916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#645916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645916
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645916#FFFFFF#000000##FFFFFF
##6459161.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560A
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#6C524C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #645916;
/* rgb */ color: rgb(100, 89, 22);
/* oklch */ color: oklch(46.2% 0.085 99.6);
Tailwind
colors: {
  custom: {
    50: '#938759',
    500: '#645916',
    950: '#000000',
  },
}
SCSS
$custom: #645916;
$custom-light: #938759;
$custom-dark: #000000;
JSON
{
  "hex": "#645916",
  "rgb": {
    "r": 100,
    "g": 89,
    "b": 22
  },
  "hsl": {
    "h": 51.538,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46154,
    "c": 0.08527,
    "h": 99.6
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#645916
secondary
#3B499B
accent
#58E741
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645916

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

Preview Lab → · Contrast checker → · Palette generator →

#645916 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva