#646E2D#646E2D

#646E2D is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.5% C 0.090 H 117.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#646E2D
RGBrgb(100, 110, 45)
HSLhsl(69, 42%, 30%)
HSVhsv(69, 59%, 43%)
CMYKcmyk(9.1%, 0%, 59.1%, 56.9%)
CIE-LABlab(44.31, -14.04, 34.33)
CIE-LCHlch(44.31, 37.09, 112.25°)
OKLaboklab(51.5% -0.0406 0.0799)
OKLCHoklch(51.5% 0.09 117)
XYZxyz(11.3053, 14.0508, 4.5986)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E2D #372D6E
analogous
#6E572D #646E2D #436E2D
triadic
#646E2D #2D646E #6E2D64
tetradic
#646E2D #2D6E57 #372D6E #6E2D43
square
#646E2D #2D6E57 #372D6E #6E2D43
split-complementary
#646E2D #2D436E #572D6E
monochromatic
#151709 #3D431B #646E2D #8B993F #ACBB5A

Accessibility & contrast

On white

5.51
#646E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#646E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646E2D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646E2D#FFFFFF#000000##FFFFFF
##646E2D1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756826
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#6A6860
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646e2d;
/* rgb */ color: rgb(100, 110, 45);
/* oklch */ color: oklch(51.5% 0.090 117.0);
Tailwind
colors: {
  custom: {
    50: '#929768',
    500: '#646e2d',
    950: '#000000',
  },
}
SCSS
$custom: #646e2d;
$custom-light: #929768;
$custom-dark: #000000;
JSON
{
  "hex": "#646e2d",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 45
  },
  "hsl": {
    "h": 69.231,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.08965,
    "h": 117
  },
  "luminance": 0.14051
}

Semantic roles & 50–950 ramp

primary
#646E2D
secondary
#6257A0
accent
#56D269
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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