#646D14#646D14

#646D14 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.0% C 0.108 H 115.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#646D14
RGBrgb(100, 109, 20)
HSLhsl(66, 69%, 25%)
HSVhsv(66, 82%, 43%)
CMYKcmyk(8.3%, 0%, 81.7%, 57.3%)
CIE-LABlab(43.80, -15.19, 44.53)
CIE-LCHlch(43.80, 47.05, 108.83°)
OKLaboklab(51.03% -0.0464 0.0973)
OKLCHoklch(51.03% 0.108 115.5)
XYZxyz(10.8507, 13.6973, 2.7339)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D14 #1D146D
analogous
#6D4914 #646D14 #386D14
triadic
#646D14 #14646D #6D1464
tetradic
#646D14 #146D49 #1D146D #6D1438
square
#646D14 #146D49 #1D146D #6D1438
split-complementary
#646D14 #14386D #49146D
monochromatic
#181A05 #35390B #646D14 #93A11D #C3D427

Accessibility & contrast

On white

5.62
#646D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#646D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646D14
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646D14#FFFFFF#000000##FFFFFF
##646D141.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646d14;
/* rgb */ color: rgb(100, 109, 20);
/* oklch */ color: oklch(51.0% 0.108 115.5);
Tailwind
colors: {
  custom: {
    50: '#93965a',
    500: '#646d14',
    950: '#000000',
  },
}
SCSS
$custom: #646d14;
$custom-light: #93965a;
$custom-dark: #000000;
JSON
{
  "hex": "#646d14",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 20
  },
  "hsl": {
    "h": 66.067,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.10785,
    "h": 115.5
  },
  "luminance": 0.13697
}

Semantic roles & 50–950 ramp

primary
#646D14
secondary
#4439A4
accent
#3CEC4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646D14

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

Preview Lab → · Contrast checker → · Palette generator →

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