#646E27#646E27

#646E27 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.4% C 0.095 H 116.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#646E27
RGBrgb(100, 110, 39)
HSLhsl(68, 48%, 29%)
HSVhsv(68, 65%, 43%)
CMYKcmyk(9.1%, 0%, 64.5%, 56.9%)
CIE-LABlab(44.24, -14.56, 37.20)
CIE-LCHlch(44.24, 39.95, 111.37°)
OKLaboklab(51.43% -0.0428 0.0852)
OKLCHoklch(51.43% 0.095 116.7)
XYZxyz(11.1979, 14.0078, 4.0329)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E27 #31276E
analogous
#6E5527 #646E27 #416E27
triadic
#646E27 #27646E #6E2764
tetradic
#646E27 #276E55 #31276E #6E2741
square
#646E27 #276E55 #31276E #6E2741
split-complementary
#646E27 #27416E #55276E
monochromatic
#151708 #3B4117 #646E27 #8D9B37 #B1C14F

Accessibility & contrast

On white

5.52
#646E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#646E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646E27
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646E27#FFFFFF#000000##FFFFFF
##646E271.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75681F
Deuteranopia (green-blind)
#75692C
Tritanopia (blue-blind)
#6A685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646e27;
/* rgb */ color: rgb(100, 110, 39);
/* oklch */ color: oklch(51.4% 0.095 116.7);
Tailwind
colors: {
  custom: {
    50: '#929765',
    500: '#646e27',
    950: '#000000',
  },
}
SCSS
$custom: #646e27;
$custom-light: #929765;
$custom-dark: #000000;
JSON
{
  "hex": "#646e27",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 39
  },
  "hsl": {
    "h": 68.451,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51433,
    "c": 0.09535,
    "h": 116.7
  },
  "luminance": 0.14008
}

Semantic roles & 50–950 ramp

primary
#646E27
secondary
#5C50A1
accent
#51D764
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646E27

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

Preview Lab → · Contrast checker → · Palette generator →

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