#645F10#645F10

#645F10 is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.6% C 0.095 H 105.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#645F10
RGBrgb(100, 95, 16)
HSLhsl(56, 72%, 23%)
HSVhsv(56, 84%, 39%)
CMYKcmyk(0%, 5%, 84%, 60.8%)
CIE-LABlab(39.46, -7.51, 41.97)
CIE-LCHlch(39.46, 42.64, 100.14°)
OKLaboklab(47.56% -0.0255 0.0911)
OKLCHoklch(47.56% 0.095 105.6)
XYZxyz(9.4417, 10.9315, 2.1028)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F10 #101564
analogous
#643510 #645F10 #3F6410
triadic
#645F10 #10645F #5F1064
tetradic
#645F10 #106435 #101564 #64103F
square
#645F10 #106435 #101564 #64103F
split-complementary
#645F10 #103F64 #351064
monochromatic
#1A1904 #2F2D08 #645F10 #999118 #CEC321

Accessibility & contrast

On white

6.59
#645F10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#645F10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645F10
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645F10#FFFFFF#000000##FFFFFF
##645F101.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#6A5E17
Tritanopia (blue-blind)
#6C5851
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645f10;
/* rgb */ color: rgb(100, 95, 16);
/* oklch */ color: oklch(47.6% 0.095 105.6);
Tailwind
colors: {
  custom: {
    50: '#938c57',
    500: '#645f10',
    950: '#000000',
  },
}
SCSS
$custom: #645f10;
$custom-light: #938c57;
$custom-dark: #000000;
JSON
{
  "hex": "#645f10",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 56.429,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47558,
    "c": 0.09456,
    "h": 105.6
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#645F10
secondary
#333A9D
accent
#44EF39
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #645F10

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

Preview Lab → · Contrast checker → · Palette generator →

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