#645F17#645F17

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

Color values

HEX#645F17
RGBrgb(100, 95, 23)
HSLhsl(56, 63%, 24%)
HSVhsv(56, 77%, 39%)
CMYKcmyk(0%, 5%, 77%, 60.8%)
CIE-LABlab(39.51, -7.19, 39.43)
CIE-LCHlch(39.51, 40.08, 100.33°)
OKLaboklab(47.6% -0.0239 0.0871)
OKLCHoklch(47.6% 0.09 105.3)
XYZxyz(9.5028, 10.9560, 2.4246)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F17 #171C64
analogous
#643917 #645F17 #436417
triadic
#645F17 #17645F #5F1764
tetradic
#645F17 #176439 #171C64 #641743
square
#645F17 #176439 #171C64 #641743
split-complementary
#645F17 #174364 #391764
monochromatic
#191806 #32300C #645F17 #968E22 #C8BE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645F17#FFFFFF#000000##FFFFFF
##645F171.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)
#685B0A
Deuteranopia (green-blind)
#6A5E1C
Tritanopia (blue-blind)
#6C5851
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645f17;
/* rgb */ color: rgb(100, 95, 23);
/* oklch */ color: oklch(47.6% 0.090 105.3);
Tailwind
colors: {
  custom: {
    50: '#938c5a',
    500: '#645f17',
    950: '#000000',
  },
}
SCSS
$custom: #645f17;
$custom-light: #938c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#645f17",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 56.104,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47604,
    "c": 0.09033,
    "h": 105.3
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#645F17
secondary
#3C429A
accent
#4DE642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #645F17

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

Preview Lab → · Contrast checker → · Palette generator →

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