#645B15#645B15

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

Color values

HEX#645B15
RGBrgb(100, 91, 21)
HSLhsl(53, 65%, 24%)
HSVhsv(53, 79%, 39%)
CMYKcmyk(0%, 9%, 79%, 60.8%)
CIE-LABlab(38.28, -4.96, 39.06)
CIE-LCHlch(38.28, 39.38, 97.23°)
OKLaboklab(46.63% -0.0178 0.0859)
OKLCHoklch(46.63% 0.088 101.7)
XYZxyz(9.1324, 10.2460, 2.2060)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B15 #151E64
analogous
#643315 #645B15 #456415
triadic
#645B15 #15645B #5B1564
tetradic
#645B15 #156433 #151E64 #641545
square
#645B15 #156433 #151E64 #641545
split-complementary
#645B15 #154564 #331564
monochromatic
#191705 #312D0A #645B15 #978920 #C9B72A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645B15#FFFFFF#000000##FFFFFF
##645B151.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)
#645808
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#6C544E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645b15;
/* rgb */ color: rgb(100, 91, 21);
/* oklch */ color: oklch(46.6% 0.088 101.7);
Tailwind
colors: {
  custom: {
    50: '#938958',
    500: '#645b15',
    950: '#000000',
  },
}
SCSS
$custom: #645b15;
$custom-light: #938958;
$custom-dark: #000000;
JSON
{
  "hex": "#645b15",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 21
  },
  "hsl": {
    "h": 53.165,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46625,
    "c": 0.08776,
    "h": 101.7
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#645B15
secondary
#3A459B
accent
#53E840
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645B15

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

Preview Lab → · Contrast checker → · Palette generator →

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