#645F16#645F16

#645F16 is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.6% C 0.091 H 105.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#645F16
RGBrgb(100, 95, 22)
HSLhsl(56, 64%, 24%)
HSVhsv(56, 78%, 39%)
CMYKcmyk(0%, 5%, 78%, 60.8%)
CIE-LABlab(39.50, -7.24, 39.83)
CIE-LCHlch(39.50, 40.48, 100.30°)
OKLaboklab(47.6% -0.0241 0.0878)
OKLCHoklch(47.6% 0.091 105.4)
XYZxyz(9.4930, 10.9520, 2.3728)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F16 #161B64
analogous
#643816 #645F16 #426416
triadic
#645F16 #16645F #5F1664
tetradic
#645F16 #166438 #161B64 #641642
square
#645F16 #166438 #161B64 #641642
split-complementary
#645F16 #164264 #381664
monochromatic
#191806 #322F0B #645F16 #968F21 #C8BE2C

Accessibility & contrast

On white

6.58
#645F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645F16
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645F16#FFFFFF#000000##FFFFFF
##645F161.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645f16;
/* rgb */ color: rgb(100, 95, 22);
/* oklch */ color: oklch(47.6% 0.091 105.4);
Tailwind
colors: {
  custom: {
    50: '#938c59',
    500: '#645f16',
    950: '#000000',
  },
}
SCSS
$custom: #645f16;
$custom-light: #938c59;
$custom-dark: #000000;
JSON
{
  "hex": "#645f16",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 56.154,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.09101,
    "h": 105.4
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#645F16
secondary
#3B419B
accent
#4CE741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #645F16

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

Preview Lab → · Contrast checker → · Palette generator →

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