#646E13#646E13

#646E13 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.110 H 116.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#646E13
RGBrgb(100, 110, 19)
HSLhsl(67, 71%, 25%)
HSVhsv(67, 83%, 43%)
CMYKcmyk(9.1%, 0%, 82.7%, 56.9%)
CIE-LABlab(44.10, -15.77, 45.13)
CIE-LCHlch(44.10, 47.81, 109.26°)
OKLaboklab(51.27% -0.0481 0.0984)
OKLCHoklch(51.27% 0.11 116.1)
XYZxyz(10.9493, 13.9084, 2.7238)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E13 #1D136E
analogous
#6E4A13 #646E13 #376E13
triadic
#646E13 #13646E #6E1364
tetradic
#646E13 #136E4A #1D136E #6E1337
square
#646E13 #136E4A #1D136E #6E1337
split-complementary
#646E13 #13376E #4A136E
monochromatic
#181A05 #353A0A #646E13 #93A21C #C3D625

Accessibility & contrast

On white

5.55
#646E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#646E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646E13
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646E13#FFFFFF#000000##FFFFFF
##646E131.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#76691C
Tritanopia (blue-blind)
#6B675D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646e13;
/* rgb */ color: rgb(100, 110, 19);
/* oklch */ color: oklch(51.3% 0.110 116.1);
Tailwind
colors: {
  custom: {
    50: '#93975a',
    500: '#646e13',
    950: '#000000',
  },
}
SCSS
$custom: #646e13;
$custom-light: #93975a;
$custom-dark: #000000;
JSON
{
  "hex": "#646e13",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 19
  },
  "hsl": {
    "h": 66.593,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51272,
    "c": 0.10957,
    "h": 116.1
  },
  "luminance": 0.13908
}

Semantic roles & 50–950 ramp

primary
#646E13
secondary
#4438A5
accent
#3AED4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646E13

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

Preview Lab → · Contrast checker → · Palette generator →

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