#645512#645512

#645512 is a mid, moderate yellow. Relative luminance 0.092; OKLCH L 45.2% C 0.085 H 95.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#645512
RGBrgb(100, 85, 18)
HSLhsl(49, 69%, 23%)
HSVhsv(49, 82%, 39%)
CMYKcmyk(0%, 15%, 82%, 60.8%)
CIE-LABlab(36.46, -1.54, 38.54)
CIE-LCHlch(36.46, 38.57, 92.29°)
OKLaboklab(45.18% -0.0085 0.0842)
OKLCHoklch(45.18% 0.085 95.8)
XYZxyz(8.6137, 9.2505, 1.9040)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645512 #122164
analogous
#642C12 #645512 #4A6412
triadic
#645512 #126455 #551264
tetradic
#645512 #12642C #122164 #64124A
square
#645512 #12642C #122164 #64124A
split-complementary
#645512 #124A64 #2C1264
monochromatic
#1A1605 #302909 #645512 #98811B #CCAD25

Accessibility & contrast

On white

7.37
#645512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#645512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645512
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645512#FFFFFF#000000##FFFFFF
##6455121.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5305
Deuteranopia (green-blind)
#635816
Tritanopia (blue-blind)
#6D4E48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #645512;
/* rgb */ color: rgb(100, 85, 18);
/* oklch */ color: oklch(45.2% 0.085 95.8);
Tailwind
colors: {
  custom: {
    50: '#938456',
    500: '#645512',
    950: '#000000',
  },
}
SCSS
$custom: #645512;
$custom-light: #938456;
$custom-dark: #000000;
JSON
{
  "hex": "#645512",
  "rgb": {
    "r": 100,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 49.024,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45177,
    "c": 0.08458,
    "h": 95.8
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#645512
secondary
#36499C
accent
#5CEC3B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0A03
muted
#7E7C78

Preview Lab

Preview with #645512

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

Preview Lab → · Contrast checker → · Palette generator →

#645512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva