#645A12#645A12

#645A12 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.4% C 0.089 H 101.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#645A12
RGBrgb(100, 90, 18)
HSLhsl(53, 69%, 23%)
HSVhsv(53, 82%, 39%)
CMYKcmyk(0%, 10%, 82%, 60.8%)
CIE-LABlab(37.96, -4.51, 39.92)
CIE-LCHlch(37.96, 40.17, 96.45°)
OKLaboklab(46.36% -0.0169 0.0871)
OKLCHoklch(46.36% 0.089 101)
XYZxyz(9.0213, 10.0658, 2.0398)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A12 #121C64
analogous
#643112 #645A12 #456412
triadic
#645A12 #12645A #5A1264
tetradic
#645A12 #126431 #121C64 #641245
square
#645A12 #126431 #121C64 #641245
split-complementary
#645A12 #124564 #311264
monochromatic
#1A1705 #302B09 #645A12 #98891B #CCB725

Accessibility & contrast

On white

6.97
#645A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#645A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A12
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A12#FFFFFF#000000##FFFFFF
##645A121.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635703
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#6C534C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #645a12;
/* rgb */ color: rgb(100, 90, 18);
/* oklch */ color: oklch(46.4% 0.089 101.0);
Tailwind
colors: {
  custom: {
    50: '#938857',
    500: '#645a12',
    950: '#000000',
  },
}
SCSS
$custom: #645a12;
$custom-light: #938857;
$custom-dark: #000000;
JSON
{
  "hex": "#645a12",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 52.683,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46364,
    "c": 0.08871,
    "h": 101
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#645A12
secondary
#36429C
accent
#51EC3B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645A12

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

Preview Lab → · Contrast checker → · Palette generator →

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