#645B10#645B10

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

Color values

HEX#645B10
RGBrgb(100, 91, 16)
HSLhsl(54, 72%, 23%)
HSVhsv(54, 84%, 39%)
CMYKcmyk(0%, 9%, 84%, 60.8%)
CIE-LABlab(38.25, -5.18, 40.89)
CIE-LCHlch(38.25, 41.22, 97.22°)
OKLaboklab(46.59% -0.019 0.0887)
OKLCHoklch(46.59% 0.091 102.1)
XYZxyz(9.0906, 10.2293, 1.9857)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B10 #101964
analogous
#643110 #645B10 #436410
triadic
#645B10 #10645B #5B1064
tetradic
#645B10 #106431 #101964 #641043
square
#645B10 #106431 #101964 #641043
split-complementary
#645B10 #104364 #311064
monochromatic
#1A1804 #2F2B08 #645B10 #998B18 #CEBB21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645B10#FFFFFF#000000##FFFFFF
##645B101.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)
#645800
Deuteranopia (green-blind)
#675C16
Tritanopia (blue-blind)
#6C544D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645b10;
/* rgb */ color: rgb(100, 91, 16);
/* oklch */ color: oklch(46.6% 0.091 102.1);
Tailwind
colors: {
  custom: {
    50: '#938956',
    500: '#645b10',
    950: '#000000',
  },
}
SCSS
$custom: #645b10;
$custom-light: #938956;
$custom-dark: #000000;
JSON
{
  "hex": "#645b10",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 53.571,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46592,
    "c": 0.09074,
    "h": 102.1
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#645B10
secondary
#333F9D
accent
#4CEF39
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #645B10

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

Preview Lab → · Contrast checker → · Palette generator →

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