#645E13#645E13

#645E13 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.3% C 0.092 H 104.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#645E13
RGBrgb(100, 94, 19)
HSLhsl(56, 68%, 23%)
HSVhsv(56, 81%, 39%)
CMYKcmyk(0%, 6%, 81%, 60.8%)
CIE-LABlab(39.18, -6.80, 40.66)
CIE-LCHlch(39.18, 41.23, 99.50°)
OKLaboklab(47.33% -0.0232 0.0889)
OKLCHoklch(47.33% 0.092 104.6)
XYZxyz(9.3762, 10.7621, 2.1994)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645E13 #131964
analogous
#643513 #645E13 #416413
triadic
#645E13 #13645E #5E1364
tetradic
#645E13 #136435 #131964 #641341
square
#645E13 #136435 #131964 #641341
split-complementary
#645E13 #134164 #351364
monochromatic
#1A1805 #312E09 #645E13 #978E1D #CBBF27

Accessibility & contrast

On white

6.66
#645E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#645E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645E13
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645E13#FFFFFF#000000##FFFFFF
##645E131.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A03
Deuteranopia (green-blind)
#695E19
Tritanopia (blue-blind)
#6C5750
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645e13;
/* rgb */ color: rgb(100, 94, 19);
/* oklch */ color: oklch(47.3% 0.092 104.6);
Tailwind
colors: {
  custom: {
    50: '#938b58',
    500: '#645e13',
    950: '#000000',
  },
}
SCSS
$custom: #645e13;
$custom-light: #938b58;
$custom-dark: #000000;
JSON
{
  "hex": "#645e13",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 55.556,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47334,
    "c": 0.09188,
    "h": 104.6
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#645E13
secondary
#373F9C
accent
#4AEB3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645E13

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

Preview Lab → · Contrast checker → · Palette generator →

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