#646F1C#646F1C

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

Color values

HEX#646F1C
RGBrgb(100, 111, 28)
HSLhsl(68, 60%, 27%)
HSVhsv(68, 75%, 44%)
CMYKcmyk(9.9%, 0%, 74.8%, 56.5%)
CIE-LABlab(44.46, -15.86, 42.24)
CIE-LCHlch(44.46, 45.12, 110.58°)
OKLaboklab(51.58% -0.0476 0.094)
OKLCHoklch(51.58% 0.105 116.8)
XYZxyz(11.1498, 14.1622, 3.2446)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F1C #271C6F
analogous
#6F511C #646F1C #3A6F1C
triadic
#646F1C #1C646F #6F1C64
tetradic
#646F1C #1C6F51 #271C6F #6F1C3A
square
#646F1C #1C6F51 #271C6F #6F1C3A
split-complementary
#646F1C #1C3A6F #511C6F
monochromatic
#161806 #383E10 #646F1C #90A028 #B9CD38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646F1C#FFFFFF#000000##FFFFFF
##646F1C1.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)
#77690D
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#6B685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f1c;
/* rgb */ color: rgb(100, 111, 28);
/* oklch */ color: oklch(51.6% 0.105 116.8);
Tailwind
colors: {
  custom: {
    50: '#93985e',
    500: '#646f1c',
    950: '#000000',
  },
}
SCSS
$custom: #646f1c;
$custom-light: #93985e;
$custom-dark: #000000;
JSON
{
  "hex": "#646f1c",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 67.952,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51581,
    "c": 0.10537,
    "h": 116.8
  },
  "luminance": 0.14162
}

Semantic roles & 50–950 ramp

primary
#646F1C
secondary
#5043A4
accent
#45E35A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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