#645B12#645B12

#645B12 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.6% C 0.090 H 101.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#645B12
RGBrgb(100, 91, 18)
HSLhsl(53, 69%, 23%)
HSVhsv(53, 82%, 39%)
CMYKcmyk(0%, 9%, 82%, 60.8%)
CIE-LABlab(38.26, -5.10, 40.19)
CIE-LCHlch(38.26, 40.51, 97.23°)
OKLaboklab(46.6% -0.0185 0.0877)
OKLCHoklch(46.6% 0.09 101.9)
XYZxyz(9.1062, 10.2356, 2.0682)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B12 #121B64
analogous
#643212 #645B12 #446412
triadic
#645B12 #12645B #5B1264
tetradic
#645B12 #126432 #121B64 #641244
square
#645B12 #126432 #121B64 #641244
split-complementary
#645B12 #124464 #321264
monochromatic
#1A1805 #302C09 #645B12 #988A1B #CCB925

Accessibility & contrast

On white

6.89
#645B12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#645B12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645B12
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645B12#FFFFFF#000000##FFFFFF
##645B121.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645803
Deuteranopia (green-blind)
#675C17
Tritanopia (blue-blind)
#6C544D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645b12;
/* rgb */ color: rgb(100, 91, 18);
/* oklch */ color: oklch(46.6% 0.090 101.9);
Tailwind
colors: {
  custom: {
    50: '#938957',
    500: '#645b12',
    950: '#000000',
  },
}
SCSS
$custom: #645b12;
$custom-light: #938957;
$custom-dark: #000000;
JSON
{
  "hex": "#645b12",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 18
  },
  "hsl": {
    "h": 53.415,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46604,
    "c": 0.08962,
    "h": 101.9
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#645B12
secondary
#36419C
accent
#4FEC3B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645B12

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

Preview Lab → · Contrast checker → · Palette generator →

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