#645E18#645E18

#645E18 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.4% C 0.089 H 104.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#645E18
RGBrgb(100, 94, 24)
HSLhsl(55, 61%, 24%)
HSVhsv(55, 76%, 39%)
CMYKcmyk(0%, 6%, 76%, 60.8%)
CIE-LABlab(39.21, -6.55, 38.74)
CIE-LCHlch(39.21, 39.29, 99.60°)
OKLaboklab(47.37% -0.022 0.0859)
OKLCHoklch(47.37% 0.089 104.4)
XYZxyz(9.4235, 10.7811, 2.4485)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645E18 #181E64
analogous
#643818 #645E18 #446418
triadic
#645E18 #18645E #5E1864
tetradic
#645E18 #186438 #181E64 #641844
square
#645E18 #186438 #181E64 #641844
split-complementary
#645E18 #184464 #381864
monochromatic
#191706 #33300C #645E18 #958C24 #C7BB30

Accessibility & contrast

On white

6.65
#645E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#645E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645E18
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645E18#FFFFFF#000000##FFFFFF
##645E181.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0C
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#6C5750
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645e18;
/* rgb */ color: rgb(100, 94, 24);
/* oklch */ color: oklch(47.4% 0.089 104.4);
Tailwind
colors: {
  custom: {
    50: '#938b5a',
    500: '#645e18',
    950: '#000000',
  },
}
SCSS
$custom: #645e18;
$custom-light: #938b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#645e18",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 55.263,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.08862,
    "h": 104.4
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#645E18
secondary
#3E459A
accent
#50E443
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645E18

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

Preview Lab → · Contrast checker → · Palette generator →

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