#645B13#645B13

#645B13 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.6% C 0.089 H 101.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#645B13
RGBrgb(100, 91, 19)
HSLhsl(53, 68%, 23%)
HSVhsv(53, 81%, 39%)
CMYKcmyk(0%, 9%, 81%, 60.8%)
CIE-LABlab(38.27, -5.05, 39.83)
CIE-LCHlch(38.27, 40.15, 97.23°)
OKLaboklab(46.61% -0.0183 0.0871)
OKLCHoklch(46.61% 0.089 101.9)
XYZxyz(9.1146, 10.2389, 2.1122)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B13 #131C64
analogous
#643213 #645B13 #446413
triadic
#645B13 #13645B #5B1364
tetradic
#645B13 #136432 #131C64 #641344
square
#645B13 #136432 #131C64 #641344
split-complementary
#645B13 #134464 #321364
monochromatic
#1A1705 #312C09 #645B13 #978A1D #CBB927

Accessibility & contrast

On white

6.89
#645B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#645B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645B13
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645B13#FFFFFF#000000##FFFFFF
##645B131.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645804
Deuteranopia (green-blind)
#675C18
Tritanopia (blue-blind)
#6C544D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645b13;
/* rgb */ color: rgb(100, 91, 19);
/* oklch */ color: oklch(46.6% 0.089 101.9);
Tailwind
colors: {
  custom: {
    50: '#938957',
    500: '#645b13',
    950: '#000000',
  },
}
SCSS
$custom: #645b13;
$custom-light: #938957;
$custom-dark: #000000;
JSON
{
  "hex": "#645b13",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 53.333,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46611,
    "c": 0.08902,
    "h": 101.9
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#645B13
secondary
#37429C
accent
#50EB3D
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645B13

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

Preview Lab → · Contrast checker → · Palette generator →

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