#646B13#646B13

#646B13 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.5% C 0.106 H 114.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#646B13
RGBrgb(100, 107, 19)
HSLhsl(65, 70%, 25%)
HSVhsv(65, 82%, 42%)
CMYKcmyk(6.5%, 0%, 82.2%, 58%)
CIE-LABlab(43.17, -14.14, 44.29)
CIE-LCHlch(43.17, 46.50, 107.70°)
OKLaboklab(50.53% -0.0436 0.0966)
OKLCHoklch(50.53% 0.106 114.3)
XYZxyz(10.6311, 13.2719, 2.6177)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B13 #1A136B
analogous
#6B4613 #646B13 #386B13
triadic
#646B13 #13646B #6B1364
tetradic
#646B13 #136B46 #1A136B #6B1338
square
#646B13 #136B46 #1A136B #6B1338
split-complementary
#646B13 #13386B #46136B
monochromatic
#181A05 #33370A #646B13 #959F1C #C5D325

Accessibility & contrast

On white

5.75
#646B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#646B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646B13
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646B13#FFFFFF#000000##FFFFFF
##646B131.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#73671B
Tritanopia (blue-blind)
#6B645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646b13;
/* rgb */ color: rgb(100, 107, 19);
/* oklch */ color: oklch(50.5% 0.106 114.3);
Tailwind
colors: {
  custom: {
    50: '#93955a',
    500: '#646b13',
    950: '#000000',
  },
}
SCSS
$custom: #646b13;
$custom-light: #93955a;
$custom-dark: #000000;
JSON
{
  "hex": "#646b13",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 19
  },
  "hsl": {
    "h": 64.773,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50525,
    "c": 0.10604,
    "h": 114.3
  },
  "luminance": 0.13272
}

Semantic roles & 50–950 ramp

primary
#646B13
secondary
#4038A2
accent
#3BED49
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646B13

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

Preview Lab → · Contrast checker → · Palette generator →

#646B13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva