#646F28#646F28

#646F28 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.7% C 0.096 H 117.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#646F28
RGBrgb(100, 111, 40)
HSLhsl(69, 47%, 30%)
HSVhsv(69, 64%, 44%)
CMYKcmyk(9.9%, 0%, 64%, 56.5%)
CIE-LABlab(44.56, -15.02, 37.07)
CIE-LCHlch(44.56, 40.00, 112.06°)
OKLaboklab(51.69% -0.044 0.0851)
OKLCHoklch(51.69% 0.096 117.3)
XYZxyz(11.3232, 14.2315, 4.1575)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F28 #33286F
analogous
#6F5728 #646F28 #416F28
triadic
#646F28 #28646F #6F2864
tetradic
#646F28 #286F57 #33286F #6F2841
square
#646F28 #286F57 #33286F #6F2841
split-complementary
#646F28 #28416F #57286F
monochromatic
#141608 #3B4218 #646F28 #8D9C38 #AFC051

Accessibility & contrast

On white

5.46
#646F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#646F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646F28
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F28#FFFFFF#000000##FFFFFF
##646F281.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766920
Deuteranopia (green-blind)
#756A2D
Tritanopia (blue-blind)
#6A6960
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f28;
/* rgb */ color: rgb(100, 111, 40);
/* oklch */ color: oklch(51.7% 0.096 117.3);
Tailwind
colors: {
  custom: {
    50: '#929865',
    500: '#646f28',
    950: '#000000',
  },
}
SCSS
$custom: #646f28;
$custom-light: #929865;
$custom-dark: #000000;
JSON
{
  "hex": "#646f28",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 40
  },
  "hsl": {
    "h": 69.296,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.09577,
    "h": 117.3
  },
  "luminance": 0.14231
}

Semantic roles & 50–950 ramp

primary
#646F28
secondary
#5E51A1
accent
#51D766
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646F28

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

Preview Lab → · Contrast checker → · Palette generator →

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