#645F1A#645F1A

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

Color values

HEX#645F1A
RGBrgb(100, 95, 26)
HSLhsl(56, 59%, 25%)
HSVhsv(56, 74%, 39%)
CMYKcmyk(0%, 5%, 74%, 60.8%)
CIE-LABlab(39.53, -7.02, 38.20)
CIE-LCHlch(39.53, 38.84, 100.41°)
OKLaboklab(47.63% -0.0231 0.0851)
OKLCHoklch(47.63% 0.088 105.2)
XYZxyz(9.5346, 10.9687, 2.5920)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F1A #1A1F64
analogous
#643A1A #645F1A #44641A
triadic
#645F1A #1A645F #5F1A64
tetradic
#645F1A #1A643A #1A1F64 #641A44
square
#645F1A #1A643A #1A1F64 #641A44
split-complementary
#645F1A #1A4464 #3A1A64
monochromatic
#181706 #33310D #645F1A #958D27 #C5BB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645F1A#FFFFFF#000000##FFFFFF
##645F1A1.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)
#685B0F
Deuteranopia (green-blind)
#6A5E1F
Tritanopia (blue-blind)
#6C5851
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645f1a;
/* rgb */ color: rgb(100, 95, 26);
/* oklch */ color: oklch(47.6% 0.088 105.2);
Tailwind
colors: {
  custom: {
    50: '#938c5b',
    500: '#645f1a',
    950: '#000000',
  },
}
SCSS
$custom: #645f1a;
$custom-light: #938c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#645f1a",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 26
  },
  "hsl": {
    "h": 55.946,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47628,
    "c": 0.0882,
    "h": 105.2
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#645F1A
secondary
#40469A
accent
#50E246
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #645F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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