#645A18#645A18

#645A18 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.4% C 0.085 H 100.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#645A18
RGBrgb(100, 90, 24)
HSLhsl(52, 61%, 24%)
HSVhsv(52, 76%, 39%)
CMYKcmyk(0%, 10%, 76%, 60.8%)
CIE-LABlab(38.00, -4.21, 37.55)
CIE-LCHlch(38.00, 37.79, 96.40°)
OKLaboklab(46.41% -0.0154 0.0833)
OKLCHoklch(46.41% 0.085 100.4)
XYZxyz(9.0770, 10.0880, 2.3330)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A18 #182264
analogous
#643418 #645A18 #486418
triadic
#645A18 #18645A #5A1864
tetradic
#645A18 #186434 #182264 #641848
square
#645A18 #186434 #182264 #641848
split-complementary
#645A18 #184864 #341864
monochromatic
#191606 #332E0C #645A18 #958624 #C7B330

Accessibility & contrast

On white

6.96
#645A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#645A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A18
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A18#FFFFFF#000000##FFFFFF
##645A181.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#6C534D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #645a18;
/* rgb */ color: rgb(100, 90, 24);
/* oklch */ color: oklch(46.4% 0.085 100.4);
Tailwind
colors: {
  custom: {
    50: '#93885a',
    500: '#645a18',
    950: '#000000',
  },
}
SCSS
$custom: #645a18;
$custom-light: #93885a;
$custom-dark: #000000;
JSON
{
  "hex": "#645a18",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 52.105,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.08476,
    "h": 100.4
  },
  "luminance": 0.10088
}

Semantic roles & 50–950 ramp

primary
#645A18
secondary
#3E4A9A
accent
#59E443
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645A18

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

Preview Lab → · Contrast checker → · Palette generator →

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