#645A15#645A15

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

Color values

HEX#645A15
RGBrgb(100, 90, 21)
HSLhsl(52, 65%, 24%)
HSVhsv(52, 79%, 39%)
CMYKcmyk(0%, 10%, 79%, 60.8%)
CIE-LABlab(37.98, -4.37, 38.78)
CIE-LCHlch(37.98, 39.02, 96.43°)
OKLaboklab(46.39% -0.0162 0.0853)
OKLCHoklch(46.39% 0.087 100.7)
XYZxyz(9.0475, 10.0762, 2.1777)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A15 #151F64
analogous
#643215 #645A15 #466415
triadic
#645A15 #15645A #5A1564
tetradic
#645A15 #156432 #151F64 #641546
square
#645A15 #156432 #151F64 #641546
split-complementary
#645A15 #154664 #321564
monochromatic
#191705 #312C0A #645A15 #978820 #C9B52A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645A15#FFFFFF#000000##FFFFFF
##645A151.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)
#635708
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#6C534D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #645a15;
/* rgb */ color: rgb(100, 90, 21);
/* oklch */ color: oklch(46.4% 0.087 100.7);
Tailwind
colors: {
  custom: {
    50: '#938858',
    500: '#645a15',
    950: '#000000',
  },
}
SCSS
$custom: #645a15;
$custom-light: #938858;
$custom-dark: #000000;
JSON
{
  "hex": "#645a15",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 21
  },
  "hsl": {
    "h": 52.405,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46385,
    "c": 0.08684,
    "h": 100.7
  },
  "luminance": 0.10076
}

Semantic roles & 50–950 ramp

primary
#645A15
secondary
#3A469B
accent
#55E840
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #645A15

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

Preview Lab → · Contrast checker → · Palette generator →

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