#645B18#645B18

#645B18 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.6% C 0.086 H 101.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#645B18
RGBrgb(100, 91, 24)
HSLhsl(53, 61%, 24%)
HSVhsv(53, 76%, 39%)
CMYKcmyk(0%, 9%, 76%, 60.8%)
CIE-LABlab(38.30, -4.80, 37.85)
CIE-LCHlch(38.30, 38.15, 97.23°)
OKLaboklab(46.65% -0.017 0.084)
OKLCHoklch(46.65% 0.086 101.5)
XYZxyz(9.1619, 10.2579, 2.3613)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B18 #182164
analogous
#643518 #645B18 #476418
triadic
#645B18 #18645B #5B1864
tetradic
#645B18 #186435 #182164 #641847
square
#645B18 #186435 #182164 #641847
split-complementary
#645B18 #184764 #351864
monochromatic
#191606 #332E0C #645B18 #958824 #C7B530

Accessibility & contrast

On white

6.88
#645B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645B18
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645B18#FFFFFF#000000##FFFFFF
##645B181.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580D
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#6C544E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645b18;
/* rgb */ color: rgb(100, 91, 24);
/* oklch */ color: oklch(46.6% 0.086 101.5);
Tailwind
colors: {
  custom: {
    50: '#93895a',
    500: '#645b18',
    950: '#000000',
  },
}
SCSS
$custom: #645b18;
$custom-light: #93895a;
$custom-dark: #000000;
JSON
{
  "hex": "#645b18",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 52.895,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46648,
    "c": 0.08569,
    "h": 101.5
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#645B18
secondary
#3E499A
accent
#56E443
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645B18

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

Preview Lab → · Contrast checker → · Palette generator →

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