#646C2F#646C2F

#646C2F is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.0% C 0.085 H 115.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#646C2F
RGBrgb(100, 108, 47)
HSLhsl(68, 39%, 30%)
HSVhsv(68, 56%, 42%)
CMYKcmyk(7.4%, 0%, 56.5%, 57.6%)
CIE-LABlab(43.71, -12.75, 32.62)
CIE-LCHlch(43.71, 35.02, 111.35°)
OKLaboklab(51.03% -0.0368 0.0765)
OKLCHoklch(51.03% 0.085 115.7)
XYZxyz(11.1314, 13.6398, 4.7351)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C2F #372F6C
analogous
#6C552F #646C2F #456C2F
triadic
#646C2F #2F646C #6C2F64
tetradic
#646C2F #2F6C55 #372F6C #6C2F45
square
#646C2F #2F6C55 #372F6C #6C2F45
split-complementary
#646C2F #2F456C #552F6C
monochromatic
#15170A #3D411C #646C2F #8B9742 #ACB85D

Accessibility & contrast

On white

5.63
#646C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#646C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646C2F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C2F#FFFFFF#000000##FFFFFF
##646C2F1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736729
Deuteranopia (green-blind)
#726832
Tritanopia (blue-blind)
#6A665E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c2f;
/* rgb */ color: rgb(100, 108, 47);
/* oklch */ color: oklch(51.0% 0.085 115.7);
Tailwind
colors: {
  custom: {
    50: '#92966a',
    500: '#646c2f',
    950: '#000000',
  },
}
SCSS
$custom: #646c2f;
$custom-light: #92966a;
$custom-dark: #000000;
JSON
{
  "hex": "#646c2f",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 47
  },
  "hsl": {
    "h": 67.869,
    "s": 39.355,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51034,
    "c": 0.08486,
    "h": 115.7
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#646C2F
secondary
#62599D
accent
#59CF68
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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