#645A1A#645A1A

#645A1A is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.4% C 0.083 H 100.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#645A1A
RGBrgb(100, 90, 26)
HSLhsl(52, 59%, 25%)
HSVhsv(52, 74%, 39%)
CMYKcmyk(0%, 10%, 74%, 60.8%)
CIE-LABlab(38.02, -4.10, 36.69)
CIE-LCHlch(38.02, 36.92, 96.37°)
OKLaboklab(46.43% -0.0148 0.0819)
OKLCHoklch(46.43% 0.083 100.2)
XYZxyz(9.0986, 10.0966, 2.4467)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A1A #1A2464
analogous
#64351A #645A1A #49641A
triadic
#645A1A #1A645A #5A1A64
tetradic
#645A1A #1A6435 #1A2464 #641A49
square
#645A1A #1A6435 #1A2464 #641A49
split-complementary
#645A1A #1A4964 #351A64
monochromatic
#181606 #332E0D #645A1A #958627 #C5B133

Accessibility & contrast

On white

6.96
#645A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#645A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A1A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A1A#FFFFFF#000000##FFFFFF
##645A1A1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635711
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#6C534D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #645a1a;
/* rgb */ color: rgb(100, 90, 26);
/* oklch */ color: oklch(46.4% 0.083 100.2);
Tailwind
colors: {
  custom: {
    50: '#93885b',
    500: '#645a1a',
    950: '#000000',
  },
}
SCSS
$custom: #645a1a;
$custom-light: #93885b;
$custom-dark: #000000;
JSON
{
  "hex": "#645a1a",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 26
  },
  "hsl": {
    "h": 51.892,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46426,
    "c": 0.08327,
    "h": 100.2
  },
  "luminance": 0.10096
}

Semantic roles & 50–950 ramp

primary
#645A1A
secondary
#404C9A
accent
#5BE246
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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