#646E15#646E15

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

Color values

HEX#646E15
RGBrgb(100, 110, 21)
HSLhsl(67, 68%, 26%)
HSVhsv(67, 81%, 43%)
CMYKcmyk(9.1%, 0%, 80.9%, 56.9%)
CIE-LABlab(44.11, -15.68, 44.48)
CIE-LCHlch(44.11, 47.17, 109.42°)
OKLaboklab(51.28% -0.0477 0.0974)
OKLCHoklch(51.28% 0.109 116.1)
XYZxyz(10.9671, 13.9155, 2.8175)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E15 #1F156E
analogous
#6E4B15 #646E15 #376E15
triadic
#646E15 #15646E #6E1564
tetradic
#646E15 #156E4B #1F156E #6E1537
square
#646E15 #156E4B #1F156E #6E1537
split-complementary
#646E15 #15376E #4B156E
monochromatic
#171A05 #353B0B #646E15 #93A11F #C1D529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646E15#FFFFFF#000000##FFFFFF
##646E151.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)
#75691D
Tritanopia (blue-blind)
#6B675D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646e15;
/* rgb */ color: rgb(100, 110, 21);
/* oklch */ color: oklch(51.3% 0.108 116.1);
Tailwind
colors: {
  custom: {
    50: '#93975b',
    500: '#646e15',
    950: '#000000',
  },
}
SCSS
$custom: #646e15;
$custom-light: #93975b;
$custom-dark: #000000;
JSON
{
  "hex": "#646e15",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 66.742,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.1085,
    "h": 116.1
  },
  "luminance": 0.13915
}

Semantic roles & 50–950 ramp

primary
#646E15
secondary
#463AA4
accent
#3DEB51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646E15

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

Preview Lab → · Contrast checker → · Palette generator →

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