#645F14#645F14

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

Color values

HEX#645F14
RGBrgb(100, 95, 20)
HSLhsl(56, 67%, 24%)
HSVhsv(56, 80%, 39%)
CMYKcmyk(0%, 5%, 80%, 60.8%)
CIE-LABlab(39.49, -7.34, 40.58)
CIE-LCHlch(39.49, 41.24, 100.25°)
OKLaboklab(47.58% -0.0246 0.0889)
OKLCHoklch(47.58% 0.092 105.5)
XYZxyz(9.4744, 10.9446, 2.2751)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F14 #141964
analogous
#643714 #645F14 #416414
triadic
#645F14 #14645F #5F1464
tetradic
#645F14 #146437 #141964 #641441
square
#645F14 #146437 #141964 #641441
split-complementary
#645F14 #144164 #371464
monochromatic
#1A1805 #312F0A #645F14 #978F1E #CAC028

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645F14#FFFFFF#000000##FFFFFF
##645F141.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)
#685B04
Deuteranopia (green-blind)
#6A5E1A
Tritanopia (blue-blind)
#6C5851
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645f14;
/* rgb */ color: rgb(100, 95, 20);
/* oklch */ color: oklch(47.6% 0.092 105.5);
Tailwind
colors: {
  custom: {
    50: '#938c58',
    500: '#645f14',
    950: '#000000',
  },
}
SCSS
$custom: #645f14;
$custom-light: #938c58;
$custom-dark: #000000;
JSON
{
  "hex": "#645f14",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 56.25,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47582,
    "c": 0.09228,
    "h": 105.5
  },
  "luminance": 0.10944
}

Semantic roles & 50–950 ramp

primary
#645F14
secondary
#383F9B
accent
#49EA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #645F14

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

Preview Lab → · Contrast checker → · Palette generator →

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