#646E25#646E25

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

Color values

HEX#646E25
RGBrgb(100, 110, 37)
HSLhsl(68, 50%, 29%)
HSVhsv(68, 66%, 43%)
CMYKcmyk(9.1%, 0%, 66.4%, 56.9%)
CIE-LABlab(44.23, -14.71, 38.12)
CIE-LCHlch(44.23, 40.86, 111.11°)
OKLaboklab(51.41% -0.0434 0.0869)
OKLCHoklch(51.41% 0.097 116.6)
XYZxyz(11.1656, 13.9949, 3.8630)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E25 #2F256E
analogous
#6E5425 #646E25 #406E25
triadic
#646E25 #25646E #6E2564
tetradic
#646E25 #256E54 #2F256E #6E2540
square
#646E25 #256E54 #2F256E #6E2540
split-complementary
#646E25 #25406E #54256E
monochromatic
#151708 #3A4016 #646E25 #8E9C34 #B2C24B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646E25#FFFFFF#000000##FFFFFF
##646E251.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)
#76681C
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#6A685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646e25;
/* rgb */ color: rgb(100, 110, 37);
/* oklch */ color: oklch(51.4% 0.097 116.6);
Tailwind
colors: {
  custom: {
    50: '#929763',
    500: '#646e25',
    950: '#000000',
  },
}
SCSS
$custom: #646e25;
$custom-light: #929763;
$custom-dark: #000000;
JSON
{
  "hex": "#646e25",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 37
  },
  "hsl": {
    "h": 68.219,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51412,
    "c": 0.09712,
    "h": 116.6
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#646E25
secondary
#594EA1
accent
#4FD962
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D05
muted
#7E7E7A

Preview Lab

Preview with #646E25

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

Preview Lab → · Contrast checker → · Palette generator →

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