#646F15#646F15

#646F15 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.5% C 0.110 H 116.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#646F15
RGBrgb(100, 111, 21)
HSLhsl(67, 68%, 26%)
HSVhsv(67, 81%, 44%)
CMYKcmyk(9.9%, 0%, 81.1%, 56.5%)
CIE-LABlab(44.42, -16.22, 44.77)
CIE-LCHlch(44.42, 47.62, 109.92°)
OKLaboklab(51.53% -0.0492 0.098)
OKLCHoklch(51.53% 0.11 116.7)
XYZxyz(11.0756, 14.1325, 2.8537)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F15 #20156F
analogous
#6F4D15 #646F15 #376F15
triadic
#646F15 #15646F #6F1564
tetradic
#646F15 #156F4D #20156F #6F1537
square
#646F15 #156F4D #20156F #6F1537
split-complementary
#646F15 #15376F #4D156F
monochromatic
#171A05 #363C0B #646F15 #92A21F #C1D628

Accessibility & contrast

On white

5.49
#646F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#646F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646F15
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F15#FFFFFF#000000##FFFFFF
##646F151.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#766A1D
Tritanopia (blue-blind)
#6B685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f15;
/* rgb */ color: rgb(100, 111, 21);
/* oklch */ color: oklch(51.5% 0.110 116.7);
Tailwind
colors: {
  custom: {
    50: '#93985b',
    500: '#646f15',
    950: '#000000',
  },
}
SCSS
$custom: #646f15;
$custom-light: #93985b;
$custom-dark: #000000;
JSON
{
  "hex": "#646f15",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 67.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51534,
    "c": 0.10971,
    "h": 116.7
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#646F15
secondary
#483AA5
accent
#3DEB52
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646F15

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

Preview Lab → · Contrast checker → · Palette generator →

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