#646F24#646F24

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

Color values

HEX#646F24
RGBrgb(100, 111, 36)
HSLhsl(69, 51%, 29%)
HSVhsv(69, 68%, 44%)
CMYKcmyk(9.9%, 0%, 67.6%, 56.5%)
CIE-LABlab(44.53, -15.33, 38.90)
CIE-LCHlch(44.53, 41.81, 111.51°)
OKLaboklab(51.65% -0.0453 0.0884)
OKLCHoklch(51.65% 0.099 117.1)
XYZxyz(11.2586, 14.2057, 3.8176)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F24 #2F246F
analogous
#6F5524 #646F24 #3F6F24
triadic
#646F24 #24646F #6F2464
tetradic
#646F24 #246F55 #2F246F #6F243F
square
#646F24 #246F55 #2F246F #6F243F
split-complementary
#646F24 #243F6F #55246F
monochromatic
#151707 #3A4115 #646F24 #8E9D33 #B2C449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646F24#FFFFFF#000000##FFFFFF
##646F241.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)
#77691A
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#6A6960
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f24;
/* rgb */ color: rgb(100, 111, 36);
/* oklch */ color: oklch(51.7% 0.099 117.1);
Tailwind
colors: {
  custom: {
    50: '#929863',
    500: '#646f24',
    950: '#000000',
  },
}
SCSS
$custom: #646f24;
$custom-light: #929863;
$custom-dark: #000000;
JSON
{
  "hex": "#646f24",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 36
  },
  "hsl": {
    "h": 68.8,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51651,
    "c": 0.09927,
    "h": 117.1
  },
  "luminance": 0.14206
}

Semantic roles & 50–950 ramp

primary
#646F24
secondary
#594DA2
accent
#4DDA62
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D05
muted
#7E7E7A

Preview Lab

Preview with #646F24

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

Preview Lab → · Contrast checker → · Palette generator →

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