#645618#645618

#645618 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.5% C 0.081 H 96.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#645618
RGBrgb(100, 86, 24)
HSLhsl(49, 61%, 24%)
HSVhsv(49, 76%, 39%)
CMYKcmyk(0%, 14%, 76%, 60.8%)
CIE-LABlab(36.80, -1.84, 36.37)
CIE-LCHlch(36.80, 36.42, 92.89°)
OKLaboklab(45.46% -0.0086 0.0809)
OKLCHoklch(45.46% 0.081 96.1)
XYZxyz(8.7486, 9.4313, 2.2236)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645618 #182664
analogous
#643018 #645618 #4C6418
triadic
#645618 #186456 #561864
tetradic
#645618 #186430 #182664 #64184C
square
#645618 #186430 #182664 #64184C
split-complementary
#645618 #184C64 #301864
monochromatic
#191506 #332C0C #645618 #958024 #C7AB30

Accessibility & contrast

On white

7.28
#645618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#645618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645618
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645618#FFFFFF#000000##FFFFFF
##6456181.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540F
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#6C4F4A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #645618;
/* rgb */ color: rgb(100, 86, 24);
/* oklch */ color: oklch(45.5% 0.081 96.1);
Tailwind
colors: {
  custom: {
    50: '#938559',
    500: '#645618',
    950: '#000000',
  },
}
SCSS
$custom: #645618;
$custom-light: #938559;
$custom-dark: #000000;
JSON
{
  "hex": "#645618",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 48.947,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45459,
    "c": 0.08131,
    "h": 96.1
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#645618
secondary
#3E4F9A
accent
#61E443
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645618

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

Preview Lab → · Contrast checker → · Palette generator →

#645618 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva