#645C30#645C30

#645C30 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 47.2% C 0.064 H 99.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#645C30
RGBrgb(100, 92, 48)
HSLhsl(51, 35%, 29%)
HSVhsv(51, 52%, 39%)
CMYKcmyk(0%, 8%, 52%, 60.8%)
CIE-LABlab(38.86, -3.48, 26.31)
CIE-LCHlch(38.86, 26.54, 97.53°)
OKLaboklab(47.17% -0.0102 0.0628)
OKLCHoklch(47.17% 0.064 99.2)
XYZxyz(9.6165, 10.5774, 4.3308)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C30 #303864
analogous
#644230 #645C30 #526430
triadic
#645C30 #30645C #5C3064
tetradic
#645C30 #306442 #303864 #643052
square
#645C30 #306442 #303864 #643052
split-complementary
#645C30 #305264 #423064
monochromatic
#15130A #3B361C #645C30 #8D8244 #B1A45D

Accessibility & contrast

On white

6.74
#645C30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#645C30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645C30
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C30#FFFFFF#000000##FFFFFF
##645C301.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A2C
Deuteranopia (green-blind)
#665D32
Tritanopia (blue-blind)
#6B5652
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645c30;
/* rgb */ color: rgb(100, 92, 48);
/* oklch */ color: oklch(47.2% 0.064 99.2);
Tailwind
colors: {
  custom: {
    50: '#918a69',
    500: '#645c30',
    950: '#000000',
  },
}
SCSS
$custom: #645c30;
$custom-light: #918a69;
$custom-dark: #000000;
JSON
{
  "hex": "#645c30",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 48
  },
  "hsl": {
    "h": 50.769,
    "s": 35.135,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47173,
    "c": 0.06362,
    "h": 99.2
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#645C30
secondary
#5A6395
accent
#6ECB5D
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0B06
muted
#7E7C7A

Preview Lab

Preview with #645C30

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

Preview Lab → · Contrast checker → · Palette generator →

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