#645D18#645D18

#645D18 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 47.1% C 0.088 H 103.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#645D18
RGBrgb(100, 93, 24)
HSLhsl(54, 61%, 24%)
HSVhsv(54, 76%, 39%)
CMYKcmyk(0%, 7%, 76%, 60.8%)
CIE-LABlab(38.91, -5.97, 38.44)
CIE-LCHlch(38.91, 38.90, 98.83°)
OKLaboklab(47.13% -0.0203 0.0852)
OKLCHoklch(47.13% 0.088 103.4)
XYZxyz(9.3352, 10.6044, 2.4191)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645D18 #181F64
analogous
#643718 #645D18 #456418
triadic
#645D18 #18645D #5D1864
tetradic
#645D18 #186437 #181F64 #641845
square
#645D18 #186437 #181F64 #641845
split-complementary
#645D18 #184564 #371864
monochromatic
#191706 #332F0C #645D18 #958B24 #C7B930

Accessibility & contrast

On white

6.73
#645D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#645D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645D18
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645D18#FFFFFF#000000##FFFFFF
##645D181.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0C
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#6C564F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645d18;
/* rgb */ color: rgb(100, 93, 24);
/* oklch */ color: oklch(47.1% 0.088 103.4);
Tailwind
colors: {
  custom: {
    50: '#938a5a',
    500: '#645d18',
    950: '#000000',
  },
}
SCSS
$custom: #645d18;
$custom-light: #938a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#645d18",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 54.474,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47128,
    "c": 0.08763,
    "h": 103.4
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#645D18
secondary
#3E469A
accent
#52E443
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645D18

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

Preview Lab → · Contrast checker → · Palette generator →

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