#645A13#645A13

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

Color values

HEX#645A13
RGBrgb(100, 90, 19)
HSLhsl(53, 68%, 23%)
HSVhsv(53, 81%, 39%)
CMYKcmyk(0%, 10%, 81%, 60.8%)
CIE-LABlab(37.97, -4.47, 39.55)
CIE-LCHlch(37.97, 39.80, 96.44°)
OKLaboklab(46.37% -0.0167 0.0865)
OKLCHoklch(46.37% 0.088 100.9)
XYZxyz(9.0297, 10.0691, 2.0839)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A13 #131D64
analogous
#643113 #645A13 #456413
triadic
#645A13 #13645A #5A1364
tetradic
#645A13 #136431 #131D64 #641345
square
#645A13 #136431 #131D64 #641345
split-complementary
#645A13 #134564 #311364
monochromatic
#1A1705 #312C09 #645A13 #97881D #CBB727

Accessibility & contrast

On white

6.97
#645A13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#645A13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A13
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A13#FFFFFF#000000##FFFFFF
##645A131.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645a13;
/* rgb */ color: rgb(100, 90, 19);
/* oklch */ color: oklch(46.4% 0.088 100.9);
Tailwind
colors: {
  custom: {
    50: '#938857',
    500: '#645a13',
    950: '#000000',
  },
}
SCSS
$custom: #645a13;
$custom-light: #938857;
$custom-dark: #000000;
JSON
{
  "hex": "#645a13",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 52.593,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46371,
    "c": 0.08811,
    "h": 100.9
  },
  "luminance": 0.10069
}

Semantic roles & 50–950 ramp

primary
#645A13
secondary
#37449C
accent
#52EB3D
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645A13

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

Preview Lab → · Contrast checker → · Palette generator →

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