#645D23#645D23

#645D23 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.2% C 0.079 H 102.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#645D23
RGBrgb(100, 93, 35)
HSLhsl(54, 48%, 26%)
HSVhsv(54, 65%, 39%)
CMYKcmyk(0%, 7%, 65%, 60.8%)
CIE-LABlab(39.00, -5.25, 33.44)
CIE-LCHlch(39.00, 33.85, 98.92°)
OKLaboklab(47.24% -0.0169 0.0767)
OKLCHoklch(47.24% 0.079 102.5)
XYZxyz(9.4736, 10.6597, 3.1483)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645D23 #232A64
analogous
#643D23 #645D23 #4B6423
triadic
#645D23 #23645D #5D2364
tetradic
#645D23 #23643D #232A64 #64234B
square
#645D23 #23643D #232A64 #64234B
split-complementary
#645D23 #234B64 #3D2364
monochromatic
#171508 #373313 #645D23 #918733 #BEB044

Accessibility & contrast

On white

6.71
#645D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#645D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645D23
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645D23#FFFFFF#000000##FFFFFF
##645D231.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A1C
Deuteranopia (green-blind)
#685D26
Tritanopia (blue-blind)
#6C5751
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645d23;
/* rgb */ color: rgb(100, 93, 35);
/* oklch */ color: oklch(47.2% 0.079 102.5);
Tailwind
colors: {
  custom: {
    50: '#928a61',
    500: '#645d23',
    950: '#000000',
  },
}
SCSS
$custom: #645d23;
$custom-light: #928a61;
$custom-dark: #000000;
JSON
{
  "hex": "#645d23",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 35
  },
  "hsl": {
    "h": 53.538,
    "s": 48.148,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47235,
    "c": 0.0785,
    "h": 102.5
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#645D23
secondary
#4B5398
accent
#5FD850
background
#F9F8F5
surface
#F1F0EA
border
#CBCBC6
text
#0D0B05
muted
#7E7C79

Preview Lab

Preview with #645D23

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

Preview Lab → · Contrast checker → · Palette generator →

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