#646522#646522

#646522 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.2% C 0.088 H 110.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#646522
RGBrgb(100, 101, 34)
HSLhsl(61, 50%, 26%)
HSVhsv(61, 66%, 40%)
CMYKcmyk(1%, 0%, 66.3%, 60.4%)
CIE-LABlab(41.43, -9.93, 36.54)
CIE-LCHlch(41.43, 37.87, 105.21°)
OKLaboklab(49.16% -0.0303 0.0831)
OKLCHoklch(49.16% 0.088 110.1)
XYZxyz(10.1983, 12.1324, 3.3176)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646522 #232265
analogous
#654522 #646522 #436522
triadic
#646522 #226465 #652264
tetradic
#646522 #226545 #232265 #652243
square
#646522 #226545 #232265 #652243
split-complementary
#646522 #224365 #452265
monochromatic
#171708 #373713 #646522 #919331 #BEBF42

Accessibility & contrast

On white

6.13
#646522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#646522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646522
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646522#FFFFFF#000000##FFFFFF
##6465221.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D611A
Deuteranopia (green-blind)
#6E6326
Tritanopia (blue-blind)
#6B5F57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #646522;
/* rgb */ color: rgb(100, 101, 34);
/* oklch */ color: oklch(49.2% 0.088 110.1);
Tailwind
colors: {
  custom: {
    50: '#929061',
    500: '#646522',
    950: '#000000',
  },
}
SCSS
$custom: #646522;
$custom-light: #929061;
$custom-dark: #000000;
JSON
{
  "hex": "#646522",
  "rgb": {
    "r": 100,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 60.896,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49162,
    "c": 0.08843,
    "h": 110.1
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#646522
secondary
#4B4A99
accent
#4FD951
background
#F9F8F5
surface
#F1F0EA
border
#CBCBC6
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #646522

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

Preview Lab → · Contrast checker → · Palette generator →

#646522 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva