#645816#645816

#645816 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.9% C 0.084 H 98.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#645816
RGBrgb(100, 88, 22)
HSLhsl(51, 64%, 24%)
HSVhsv(51, 78%, 39%)
CMYKcmyk(0%, 12%, 78%, 60.8%)
CIE-LABlab(37.38, -3.14, 37.80)
CIE-LCHlch(37.38, 37.93, 94.74°)
OKLaboklab(45.92% -0.0126 0.0835)
OKLCHoklch(45.92% 0.084 98.6)
XYZxyz(8.8905, 9.7471, 2.1720)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645816 #162264
analogous
#643116 #645816 #496416
triadic
#645816 #166458 #581664
tetradic
#645816 #166431 #162264 #641649
square
#645816 #166431 #162264 #641649
split-complementary
#645816 #164964 #311664
monochromatic
#191606 #322C0B #645816 #968421 #C8B02C

Accessibility & contrast

On white

7.12
#645816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#645816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645816
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645816#FFFFFF#000000##FFFFFF
##6458161.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560B
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#6C514B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #645816;
/* rgb */ color: rgb(100, 88, 22);
/* oklch */ color: oklch(45.9% 0.084 98.6);
Tailwind
colors: {
  custom: {
    50: '#938658',
    500: '#645816',
    950: '#000000',
  },
}
SCSS
$custom: #645816;
$custom-light: #938658;
$custom-dark: #000000;
JSON
{
  "hex": "#645816",
  "rgb": {
    "r": 100,
    "g": 88,
    "b": 22
  },
  "hsl": {
    "h": 50.769,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45916,
    "c": 0.0844,
    "h": 98.6
  },
  "luminance": 0.09747
}

Semantic roles & 50–950 ramp

primary
#645816
secondary
#3B4A9B
accent
#5AE741
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645816

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

Preview Lab → · Contrast checker → · Palette generator →

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