#646D1C#646D1C

#646D1C is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.1% C 0.103 H 115.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#646D1C
RGBrgb(100, 109, 28)
HSLhsl(67, 59%, 27%)
HSVhsv(67, 74%, 43%)
CMYKcmyk(8.3%, 0%, 74.3%, 57.3%)
CIE-LABlab(43.84, -14.77, 41.64)
CIE-LCHlch(43.84, 44.18, 109.54°)
OKLaboklab(51.08% -0.0446 0.0927)
OKLCHoklch(51.08% 0.103 115.7)
XYZxyz(10.9341, 13.7306, 3.1727)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D1C #251C6D
analogous
#6D4E1C #646D1C #3C6D1C
triadic
#646D1C #1C646D #6D1C64
tetradic
#646D1C #1C6D4E #251C6D #6D1C3C
square
#646D1C #1C6D4E #251C6D #6D1C3C
split-complementary
#646D1C #1C3C6D #4E1C6D
monochromatic
#161806 #373C0F #646D1C #919E29 #BBCC38

Accessibility & contrast

On white

5.61
#646D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#646D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646D1C
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646D1C#FFFFFF#000000##FFFFFF
##646D1C1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670E
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646d1c;
/* rgb */ color: rgb(100, 109, 28);
/* oklch */ color: oklch(51.1% 0.103 115.7);
Tailwind
colors: {
  custom: {
    50: '#93965e',
    500: '#646d1c',
    950: '#000000',
  },
}
SCSS
$custom: #646d1c;
$custom-light: #93965e;
$custom-dark: #000000;
JSON
{
  "hex": "#646d1c",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 28
  },
  "hsl": {
    "h": 66.667,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.10289,
    "h": 115.7
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#646D1C
secondary
#4E43A2
accent
#45E257
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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