#646F19#646F19

#646F19 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.6% C 0.107 H 116.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#646F19
RGBrgb(100, 111, 25)
HSLhsl(68, 63%, 27%)
HSVhsv(68, 77%, 44%)
CMYKcmyk(9.9%, 0%, 77.5%, 56.5%)
CIE-LABlab(44.45, -16.03, 43.38)
CIE-LCHlch(44.45, 46.24, 110.28°)
OKLaboklab(51.56% -0.0483 0.0959)
OKLCHoklch(51.56% 0.107 116.8)
XYZxyz(11.1157, 14.1485, 3.0649)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F19 #24196F
analogous
#6F4F19 #646F19 #396F19
triadic
#646F19 #19646F #6F1964
tetradic
#646F19 #196F4F #24196F #6F1939
square
#646F19 #196F4F #24196F #6F1939
split-complementary
#646F19 #19396F #4F196F
monochromatic
#171906 #373D0E #646F19 #91A124 #BCD132

Accessibility & contrast

On white

5.48
#646F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646F19
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F19#FFFFFF#000000##FFFFFF
##646F191.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776907
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#6B685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f19;
/* rgb */ color: rgb(100, 111, 25);
/* oklch */ color: oklch(51.6% 0.107 116.8);
Tailwind
colors: {
  custom: {
    50: '#93985d',
    500: '#646f19',
    950: '#000000',
  },
}
SCSS
$custom: #646f19;
$custom-light: #93985d;
$custom-dark: #000000;
JSON
{
  "hex": "#646f19",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 67.674,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51559,
    "c": 0.10735,
    "h": 116.8
  },
  "luminance": 0.14148
}

Semantic roles & 50–950 ramp

primary
#646F19
secondary
#4C3FA4
accent
#42E657
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646F19

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

Preview Lab → · Contrast checker → · Palette generator →

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