#646E26#646E26

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

Color values

HEX#646E26
RGBrgb(100, 110, 38)
HSLhsl(68, 49%, 29%)
HSVhsv(68, 65%, 43%)
CMYKcmyk(9.1%, 0%, 65.5%, 56.9%)
CIE-LABlab(44.23, -14.64, 37.66)
CIE-LCHlch(44.23, 40.41, 111.24°)
OKLaboklab(51.42% -0.0431 0.0861)
OKLCHoklch(51.42% 0.096 116.6)
XYZxyz(11.1815, 14.0013, 3.9468)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E26 #30266E
analogous
#6E5426 #646E26 #406E26
triadic
#646E26 #26646E #6E2664
tetradic
#646E26 #266E54 #30266E #6E2640
square
#646E26 #266E54 #30266E #6E2640
split-complementary
#646E26 #26406E #54266E
monochromatic
#151708 #3B4116 #646E26 #8D9B36 #B1C14D

Accessibility & contrast

On white

5.53
#646E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646E26
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646E26#FFFFFF#000000##FFFFFF
##646E261.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76681D
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#6A685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646e26;
/* rgb */ color: rgb(100, 110, 38);
/* oklch */ color: oklch(51.4% 0.096 116.6);
Tailwind
colors: {
  custom: {
    50: '#929764',
    500: '#646e26',
    950: '#000000',
  },
}
SCSS
$custom: #646e26;
$custom-light: #929764;
$custom-dark: #000000;
JSON
{
  "hex": "#646e26",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 38
  },
  "hsl": {
    "h": 68.333,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.09624,
    "h": 116.6
  },
  "luminance": 0.14001
}

Semantic roles & 50–950 ramp

primary
#646E26
secondary
#5A4FA1
accent
#50D863
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646E26

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

Preview Lab → · Contrast checker → · Palette generator →

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