#645612#645612

#645612 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.4% C 0.085 H 96.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#645612
RGBrgb(100, 86, 18)
HSLhsl(50, 69%, 23%)
HSVhsv(50, 82%, 39%)
CMYKcmyk(0%, 14%, 82%, 60.8%)
CIE-LABlab(36.76, -2.14, 38.82)
CIE-LCHlch(36.76, 38.87, 93.15°)
OKLaboklab(45.41% -0.0102 0.0847)
OKLCHoklch(45.41% 0.085 96.9)
XYZxyz(8.6930, 9.4090, 1.9304)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645612 #122064
analogous
#642D12 #645612 #496412
triadic
#645612 #126456 #561264
tetradic
#645612 #12642D #122064 #641249
square
#645612 #12642D #122064 #641249
split-complementary
#645612 #124964 #2D1264
monochromatic
#1A1605 #302909 #645612 #98831B #CCAF25

Accessibility & contrast

On white

7.29
#645612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#645612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645612
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645612#FFFFFF#000000##FFFFFF
##6456121.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605405
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#6D4F49
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #645612;
/* rgb */ color: rgb(100, 86, 18);
/* oklch */ color: oklch(45.4% 0.085 96.9);
Tailwind
colors: {
  custom: {
    50: '#938556',
    500: '#645612',
    950: '#000000',
  },
}
SCSS
$custom: #645612;
$custom-light: #938556;
$custom-dark: #000000;
JSON
{
  "hex": "#645612",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 49.756,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45413,
    "c": 0.08535,
    "h": 96.9
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#645612
secondary
#36479C
accent
#5AEC3B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645612

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

Preview Lab → · Contrast checker → · Palette generator →

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