#645B14#645B14

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

Color values

HEX#645B14
RGBrgb(100, 91, 20)
HSLhsl(53, 67%, 24%)
HSVhsv(53, 80%, 39%)
CMYKcmyk(0%, 9%, 80%, 60.8%)
CIE-LABlab(38.27, -5.01, 39.45)
CIE-LCHlch(38.27, 39.77, 97.23°)
OKLaboklab(46.62% -0.0181 0.0865)
OKLCHoklch(46.62% 0.088 101.8)
XYZxyz(9.1233, 10.2424, 2.1581)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B14 #141D64
analogous
#643314 #645B14 #456414
triadic
#645B14 #14645B #5B1464
tetradic
#645B14 #146433 #141D64 #641445
square
#645B14 #146433 #141D64 #641445
split-complementary
#645B14 #144564 #331464
monochromatic
#1A1705 #312D0A #645B14 #97891E #CAB828

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645B14#FFFFFF#000000##FFFFFF
##645B141.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)
#645806
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#6C544D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645b14;
/* rgb */ color: rgb(100, 91, 20);
/* oklch */ color: oklch(46.6% 0.088 101.8);
Tailwind
colors: {
  custom: {
    50: '#938958',
    500: '#645b14',
    950: '#000000',
  },
}
SCSS
$custom: #645b14;
$custom-light: #938958;
$custom-dark: #000000;
JSON
{
  "hex": "#645b14",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 53.25,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46618,
    "c": 0.0884,
    "h": 101.8
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#645B14
secondary
#38449B
accent
#51EA3E
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645B14

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

Preview Lab → · Contrast checker → · Palette generator →

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