#646B23#646B23

#646B23 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.095 H 114.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#646B23
RGBrgb(100, 107, 35)
HSLhsl(66, 51%, 28%)
HSVhsv(66, 67%, 42%)
CMYKcmyk(6.5%, 0%, 67.3%, 58%)
CIE-LABlab(43.28, -13.22, 38.04)
CIE-LCHlch(43.28, 40.27, 109.16°)
OKLaboklab(50.65% -0.0395 0.0864)
OKLCHoklch(50.65% 0.095 114.6)
XYZxyz(10.8169, 13.3462, 3.5960)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B23 #2A236B
analogous
#6B4E23 #646B23 #406B23
triadic
#646B23 #23646B #6B2364
tetradic
#646B23 #236B4E #2A236B #6B2340
square
#646B23 #236B4E #2A236B #6B2340
split-complementary
#646B23 #23406B #4E236B
monochromatic
#161708 #393D14 #646B23 #8F9932 #B6C246

Accessibility & contrast

On white

5.72
#646B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#646B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646B23
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646B23#FFFFFF#000000##FFFFFF
##646B231.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661A
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646b23;
/* rgb */ color: rgb(100, 107, 35);
/* oklch */ color: oklch(50.6% 0.095 114.6);
Tailwind
colors: {
  custom: {
    50: '#929562',
    500: '#646b23',
    950: '#000000',
  },
}
SCSS
$custom: #646b23;
$custom-light: #929562;
$custom-dark: #000000;
JSON
{
  "hex": "#646b23",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 35
  },
  "hsl": {
    "h": 65.833,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50649,
    "c": 0.09497,
    "h": 114.6
  },
  "luminance": 0.13346
}

Semantic roles & 50–950 ramp

primary
#646B23
secondary
#534B9E
accent
#4EDA5B
background
#F9F9F5
surface
#F1F1EA
border
#CBCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646B23

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

Preview Lab → · Contrast checker → · Palette generator →

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