#646D28#646D28

#646D28 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.2% C 0.093 H 116.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#646D28
RGBrgb(100, 109, 40)
HSLhsl(68, 46%, 29%)
HSVhsv(68, 63%, 43%)
CMYKcmyk(8.3%, 0%, 63.3%, 57.3%)
CIE-LABlab(43.94, -13.93, 36.40)
CIE-LCHlch(43.94, 38.97, 110.94°)
OKLaboklab(51.2% -0.0409 0.0837)
OKLCHoklch(51.2% 0.093 116)
XYZxyz(11.1074, 13.7999, 4.0856)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D28 #31286D
analogous
#6D5428 #646D28 #426D28
triadic
#646D28 #28646D #6D2864
tetradic
#646D28 #286D54 #31286D #6D2842
square
#646D28 #286D54 #31286D #6D2842
split-complementary
#646D28 #28426D #54286D
monochromatic
#151608 #3B4018 #646D28 #8D9A38 #B1BF50

Accessibility & contrast

On white

5.59
#646D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#646D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646D28
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646D28#FFFFFF#000000##FFFFFF
##646D281.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#74682C
Tritanopia (blue-blind)
#6A675E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646d28;
/* rgb */ color: rgb(100, 109, 40);
/* oklch */ color: oklch(51.2% 0.093 116.0);
Tailwind
colors: {
  custom: {
    50: '#929665',
    500: '#646d28',
    950: '#000000',
  },
}
SCSS
$custom: #646d28;
$custom-light: #929665;
$custom-dark: #000000;
JSON
{
  "hex": "#646d28",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 40
  },
  "hsl": {
    "h": 67.826,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51196,
    "c": 0.09312,
    "h": 116
  },
  "luminance": 0.138
}

Semantic roles & 50–950 ramp

primary
#646D28
secondary
#5C519F
accent
#52D663
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646D28

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

Preview Lab → · Contrast checker → · Palette generator →

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