#646D2F#646D2F

#646D2F is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.086 H 116.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#646D2F
RGBrgb(100, 109, 47)
HSLhsl(69, 40%, 31%)
HSVhsv(69, 57%, 43%)
CMYKcmyk(8.3%, 0%, 56.9%, 57.3%)
CIE-LABlab(44.02, -13.30, 32.98)
CIE-LCHlch(44.02, 35.56, 111.97°)
OKLaboklab(51.28% -0.0383 0.0772)
OKLCHoklch(51.28% 0.086 116.4)
XYZxyz(11.2374, 13.8520, 4.7705)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D2F #382F6D
analogous
#6D572F #646D2F #456D2F
triadic
#646D2F #2F646D #6D2F64
tetradic
#646D2F #2F6D57 #382F6D #6D2F45
square
#646D2F #2F6D57 #382F6D #6D2F45
split-complementary
#646D2F #2F456D #572F6D
monochromatic
#16170A #3D421D #646D2F #8B9841 #ACB95D

Accessibility & contrast

On white

5.57
#646D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#646D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646D2F
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646D2F#FFFFFF#000000##FFFFFF
##646D2F1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746829
Deuteranopia (green-blind)
#736933
Tritanopia (blue-blind)
#6A675F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646d2f;
/* rgb */ color: rgb(100, 109, 47);
/* oklch */ color: oklch(51.3% 0.086 116.4);
Tailwind
colors: {
  custom: {
    50: '#92966a',
    500: '#646d2f',
    950: '#000000',
  },
}
SCSS
$custom: #646d2f;
$custom-light: #92966a;
$custom-dark: #000000;
JSON
{
  "hex": "#646d2f",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 47
  },
  "hsl": {
    "h": 68.71,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5128,
    "c": 0.08623,
    "h": 116.4
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

primary
#646D2F
secondary
#63599E
accent
#58D06A
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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