#645F12#645F12

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

Color values

HEX#645F12
RGBrgb(100, 95, 18)
HSLhsl(56, 69%, 23%)
HSVhsv(56, 82%, 39%)
CMYKcmyk(0%, 5%, 82%, 60.8%)
CIE-LABlab(39.48, -7.43, 41.30)
CIE-LCHlch(39.48, 41.96, 100.19°)
OKLaboklab(47.57% -0.0251 0.09)
OKLCHoklch(47.57% 0.093 105.6)
XYZxyz(9.4573, 10.9378, 2.1852)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F12 #121764
analogous
#643612 #645F12 #406412
triadic
#645F12 #12645F #5F1264
tetradic
#645F12 #126436 #121764 #641240
square
#645F12 #126436 #121764 #641240
split-complementary
#645F12 #124064 #361264
monochromatic
#1A1905 #302E09 #645F12 #98901B #CCC225

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645F12#FFFFFF#000000##FFFFFF
##645F121.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)
#685B01
Deuteranopia (green-blind)
#6A5E18
Tritanopia (blue-blind)
#6C5851
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645f12;
/* rgb */ color: rgb(100, 95, 18);
/* oklch */ color: oklch(47.6% 0.093 105.6);
Tailwind
colors: {
  custom: {
    50: '#938c57',
    500: '#645f12',
    950: '#000000',
  },
}
SCSS
$custom: #645f12;
$custom-light: #938c57;
$custom-dark: #000000;
JSON
{
  "hex": "#645f12",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 56.341,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4757,
    "c": 0.09347,
    "h": 105.6
  },
  "luminance": 0.10937
}

Semantic roles & 50–950 ramp

primary
#645F12
secondary
#363C9C
accent
#46EC3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #645F12

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

Preview Lab → · Contrast checker → · Palette generator →

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