#646B14#646B14

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

Color values

HEX#646B14
RGBrgb(100, 107, 20)
HSLhsl(65, 69%, 25%)
HSVhsv(65, 81%, 42%)
CMYKcmyk(6.5%, 0%, 81.3%, 58%)
CIE-LABlab(43.18, -14.09, 43.97)
CIE-LCHlch(43.18, 46.17, 107.77°)
OKLaboklab(50.53% -0.0434 0.0961)
OKLCHoklch(50.53% 0.106 114.3)
XYZxyz(10.6398, 13.2754, 2.6636)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B14 #1B146B
analogous
#6B4714 #646B14 #386B14
triadic
#646B14 #14646B #6B1464
tetradic
#646B14 #146B47 #1B146B #6B1438
square
#646B14 #146B47 #1B146B #6B1438
split-complementary
#646B14 #14386B #47146B
monochromatic
#181A05 #34370A #646B14 #949F1E #C4D227

Accessibility & contrast

On white

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

On black

3.66
#646B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##646B14#FFFFFF#000000##FFFFFF
##646B141.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646b14;
/* rgb */ color: rgb(100, 107, 20);
/* oklch */ color: oklch(50.5% 0.105 114.3);
Tailwind
colors: {
  custom: {
    50: '#93955a',
    500: '#646b14',
    950: '#000000',
  },
}
SCSS
$custom: #646b14;
$custom-light: #93955a;
$custom-dark: #000000;
JSON
{
  "hex": "#646b14",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 64.828,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.1055,
    "h": 114.3
  },
  "luminance": 0.13275
}

Semantic roles & 50–950 ramp

primary
#646B14
secondary
#4139A2
accent
#3CEB4B
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646B14

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

Preview Lab → · Contrast checker → · Palette generator →

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