#645C18#645C18

#645C18 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.9% C 0.087 H 102.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#645C18
RGBrgb(100, 92, 24)
HSLhsl(54, 61%, 24%)
HSVhsv(54, 76%, 39%)
CMYKcmyk(0%, 8%, 76%, 60.8%)
CIE-LABlab(38.60, -5.39, 38.15)
CIE-LCHlch(38.60, 38.52, 98.04°)
OKLaboklab(46.89% -0.0187 0.0846)
OKLCHoklch(46.89% 0.087 102.5)
XYZxyz(9.2480, 10.4300, 2.3900)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C18 #182064
analogous
#643618 #645C18 #466418
triadic
#645C18 #18645C #5C1864
tetradic
#645C18 #186436 #182064 #641846
square
#645C18 #186436 #182064 #641846
split-complementary
#645C18 #184664 #361864
monochromatic
#191706 #332F0C #645C18 #958924 #C7B730

Accessibility & contrast

On white

6.80
#645C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#645C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645C18
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C18#FFFFFF#000000##FFFFFF
##645C181.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590D
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#6C554F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645c18;
/* rgb */ color: rgb(100, 92, 24);
/* oklch */ color: oklch(46.9% 0.087 102.5);
Tailwind
colors: {
  custom: {
    50: '#93895a',
    500: '#645c18',
    950: '#000000',
  },
}
SCSS
$custom: #645c18;
$custom-light: #93895a;
$custom-dark: #000000;
JSON
{
  "hex": "#645c18",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 24
  },
  "hsl": {
    "h": 53.684,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46888,
    "c": 0.08664,
    "h": 102.5
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#645C18
secondary
#3E479A
accent
#54E443
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645C18

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

Preview Lab → · Contrast checker → · Palette generator →

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