#645F18#645F18

#645F18 is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.6% C 0.090 H 105.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#645F18
RGBrgb(100, 95, 24)
HSLhsl(56, 61%, 24%)
HSVhsv(56, 76%, 39%)
CMYKcmyk(0%, 5%, 76%, 60.8%)
CIE-LABlab(39.51, -7.13, 39.03)
CIE-LCHlch(39.51, 39.68, 100.36°)
OKLaboklab(47.61% -0.0236 0.0865)
OKLCHoklch(47.61% 0.09 105.3)
XYZxyz(9.5130, 10.9601, 2.4784)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F18 #181D64
analogous
#643918 #645F18 #436418
triadic
#645F18 #18645F #5F1864
tetradic
#645F18 #186439 #181D64 #641843
square
#645F18 #186439 #181D64 #641843
split-complementary
#645F18 #184364 #391864
monochromatic
#191706 #33300C #645F18 #958E24 #C7BD30

Accessibility & contrast

On white

6.58
#645F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#645F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645F18
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645F18#FFFFFF#000000##FFFFFF
##645F181.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0C
Deuteranopia (green-blind)
#6A5E1D
Tritanopia (blue-blind)
#6C5851
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645f18;
/* rgb */ color: rgb(100, 95, 24);
/* oklch */ color: oklch(47.6% 0.090 105.3);
Tailwind
colors: {
  custom: {
    50: '#938c5a',
    500: '#645f18',
    950: '#000000',
  },
}
SCSS
$custom: #645f18;
$custom-light: #938c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#645f18",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 56.053,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47611,
    "c": 0.08965,
    "h": 105.3
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#645F18
secondary
#3E449A
accent
#4EE443
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #645F18

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

Preview Lab → · Contrast checker → · Palette generator →

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