#626221#626221

#626221 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.2% C 0.086 H 109.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#626221
RGBrgb(98, 98, 33)
HSLhsl(60, 50%, 26%)
HSVhsv(60, 66%, 38%)
CMYKcmyk(0%, 0%, 66.3%, 61.6%)
CIE-LABlab(40.32, -9.24, 35.78)
CIE-LCHlch(40.32, 36.96, 104.49°)
OKLaboklab(48.23% -0.0284 0.0813)
OKLCHoklch(48.23% 0.086 109.2)
XYZxyz(9.6795, 11.4421, 3.1372)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626221 #212162
analogous
#624121 #626221 #416221
triadic
#626221 #216262 #622162
tetradic
#626221 #216241 #212162 #622141
square
#626221 #216241 #212162 #622141
split-complementary
#626221 #214162 #412162
monochromatic
#171708 #343412 #626221 #909030 #BEBE40

Accessibility & contrast

On white

6.39
#626221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#626221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626221
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626221#FFFFFF#000000##FFFFFF
##6262211.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E19
Deuteranopia (green-blind)
#6B6025
Tritanopia (blue-blind)
#695C54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #626221;
/* rgb */ color: rgb(98, 98, 33);
/* oklch */ color: oklch(48.2% 0.086 109.2);
Tailwind
colors: {
  custom: {
    50: '#918e60',
    500: '#626221',
    950: '#000000',
  },
}
SCSS
$custom: #626221;
$custom-light: #918e60;
$custom-dark: #000000;
JSON
{
  "hex": "#626221",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 60,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48229,
    "c": 0.08615,
    "h": 109.2
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#626221
secondary
#494996
accent
#4FD94F
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #626221

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

Preview Lab → · Contrast checker → · Palette generator →

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