#645D13#645D13

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

Color values

HEX#645D13
RGBrgb(100, 93, 19)
HSLhsl(55, 68%, 23%)
HSVhsv(55, 81%, 39%)
CMYKcmyk(0%, 7%, 81%, 60.8%)
CIE-LABlab(38.87, -6.22, 40.39)
CIE-LCHlch(38.87, 40.86, 98.76°)
OKLaboklab(47.09% -0.0216 0.0883)
OKLCHoklch(47.09% 0.091 103.7)
XYZxyz(9.2878, 10.5854, 2.1699)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645D13 #131A64
analogous
#643413 #645D13 #426413
triadic
#645D13 #13645D #5D1364
tetradic
#645D13 #136434 #131A64 #641342
square
#645D13 #136434 #131A64 #641342
split-complementary
#645D13 #134264 #341364
monochromatic
#1A1805 #312D09 #645D13 #978D1D #CBBD27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645D13#FFFFFF#000000##FFFFFF
##645D131.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)
#665A04
Deuteranopia (green-blind)
#685D19
Tritanopia (blue-blind)
#6C564F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645d13;
/* rgb */ color: rgb(100, 93, 19);
/* oklch */ color: oklch(47.1% 0.091 103.7);
Tailwind
colors: {
  custom: {
    50: '#938a58',
    500: '#645d13',
    950: '#000000',
  },
}
SCSS
$custom: #645d13;
$custom-light: #938a58;
$custom-dark: #000000;
JSON
{
  "hex": "#645d13",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 54.815,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47092,
    "c": 0.09091,
    "h": 103.7
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#645D13
secondary
#37409C
accent
#4CEB3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645D13

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

Preview Lab → · Contrast checker → · Palette generator →

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