#645827#645827

#645827 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 46.1% C 0.070 H 95.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#645827
RGBrgb(100, 88, 39)
HSLhsl(48, 44%, 27%)
HSVhsv(48, 61%, 39%)
CMYKcmyk(0%, 12%, 61%, 60.8%)
CIE-LABlab(37.55, -1.96, 29.73)
CIE-LCHlch(37.55, 29.79, 93.78°)
OKLaboklab(46.1% -0.007 0.0693)
OKLCHoklch(46.1% 0.07 95.8)
XYZxyz(9.1118, 9.8357, 3.3376)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645827 #273364
analogous
#643A27 #645827 #526427
triadic
#645827 #276458 #582764
tetradic
#645827 #27643A #273364 #642752
square
#645827 #27643A #273364 #642752
split-complementary
#645827 #275264 #3A2764
monochromatic
#161309 #383116 #645827 #907F38 #B9A44C

Accessibility & contrast

On white

7.08
#645827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#645827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645827
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645827#FFFFFF#000000##FFFFFF
##6458271.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605622
Deuteranopia (green-blind)
#645A29
Tritanopia (blue-blind)
#6C524D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #645827;
/* rgb */ color: rgb(100, 88, 39);
/* oklch */ color: oklch(46.1% 0.070 95.8);
Tailwind
colors: {
  custom: {
    50: '#928663',
    500: '#645827',
    950: '#000000',
  },
}
SCSS
$custom: #645827;
$custom-light: #928663;
$custom-dark: #000000;
JSON
{
  "hex": "#645827",
  "rgb": {
    "r": 100,
    "g": 88,
    "b": 39
  },
  "hsl": {
    "h": 48.197,
    "s": 43.885,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.06962,
    "h": 95.8
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#645827
secondary
#505E97
accent
#6DD454
background
#F9F8F5
surface
#F1EFEA
border
#CBCAC6
text
#0D0B05
muted
#7E7C79

Preview Lab

Preview with #645827

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

Preview Lab → · Contrast checker → · Palette generator →

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