#645F13#645F13

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

Color values

HEX#645F13
RGBrgb(100, 95, 19)
HSLhsl(56, 68%, 23%)
HSVhsv(56, 81%, 39%)
CMYKcmyk(0%, 5%, 81%, 60.8%)
CIE-LABlab(39.48, -7.38, 40.94)
CIE-LCHlch(39.48, 41.60, 100.22°)
OKLaboklab(47.58% -0.0248 0.0895)
OKLCHoklch(47.58% 0.093 105.5)
XYZxyz(9.4657, 10.9411, 2.2292)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F13 #131864
analogous
#643613 #645F13 #406413
triadic
#645F13 #13645F #5F1364
tetradic
#645F13 #136436 #131864 #641340
square
#645F13 #136436 #131864 #641340
split-complementary
#645F13 #134064 #361364
monochromatic
#1A1805 #312E09 #645F13 #97901D #CBC127

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645F13#FFFFFF#000000##FFFFFF
##645F131.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)
#685B03
Deuteranopia (green-blind)
#6A5E19
Tritanopia (blue-blind)
#6C5851
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645f13;
/* rgb */ color: rgb(100, 95, 19);
/* oklch */ color: oklch(47.6% 0.093 105.5);
Tailwind
colors: {
  custom: {
    50: '#938c58',
    500: '#645f13',
    950: '#000000',
  },
}
SCSS
$custom: #645f13;
$custom-light: #938c58;
$custom-dark: #000000;
JSON
{
  "hex": "#645f13",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 56.296,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47576,
    "c": 0.09289,
    "h": 105.5
  },
  "luminance": 0.10941
}

Semantic roles & 50–950 ramp

primary
#645F13
secondary
#373D9C
accent
#48EB3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #645F13

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

Preview Lab → · Contrast checker → · Palette generator →

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