#646F25#646F25

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

Color values

HEX#646F25
RGBrgb(100, 111, 37)
HSLhsl(69, 50%, 29%)
HSVhsv(69, 67%, 44%)
CMYKcmyk(9.9%, 0%, 66.7%, 56.5%)
CIE-LABlab(44.54, -15.26, 38.45)
CIE-LCHlch(44.54, 41.37, 111.65°)
OKLaboklab(51.66% -0.0449 0.0876)
OKLCHoklch(51.66% 0.098 117.2)
XYZxyz(11.2741, 14.2119, 3.8992)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F25 #30256F
analogous
#6F5525 #646F25 #3F6F25
triadic
#646F25 #25646F #6F2564
tetradic
#646F25 #256F55 #30256F #6F253F
square
#646F25 #256F55 #30256F #6F253F
split-complementary
#646F25 #253F6F #55256F
monochromatic
#151708 #3B4116 #646F25 #8D9D34 #B1C34B

Accessibility & contrast

On white

5.47
#646F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#646F25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646F25
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F25#FFFFFF#000000##FFFFFF
##646F251.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691C
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#6A6960
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f25;
/* rgb */ color: rgb(100, 111, 37);
/* oklch */ color: oklch(51.7% 0.098 117.2);
Tailwind
colors: {
  custom: {
    50: '#929864',
    500: '#646f25',
    950: '#000000',
  },
}
SCSS
$custom: #646f25;
$custom-light: #929864;
$custom-dark: #000000;
JSON
{
  "hex": "#646f25",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 37
  },
  "hsl": {
    "h": 68.919,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51661,
    "c": 0.09842,
    "h": 117.2
  },
  "luminance": 0.14212
}

Semantic roles & 50–950 ramp

primary
#646F25
secondary
#5A4EA2
accent
#4EDA63
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D05
muted
#7E7E7A

Preview Lab

Preview with #646F25

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

Preview Lab → · Contrast checker → · Palette generator →

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