#626421#626421

#626421 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.7% C 0.089 H 110.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#626421
RGBrgb(98, 100, 33)
HSLhsl(62, 50%, 26%)
HSVhsv(62, 67%, 39%)
CMYKcmyk(2%, 0%, 67%, 60.8%)
CIE-LABlab(40.93, -10.38, 36.43)
CIE-LCHlch(40.93, 37.88, 105.91°)
OKLaboklab(48.72% -0.0316 0.0827)
OKLCHoklch(48.72% 0.089 110.9)
XYZxyz(9.8690, 11.8211, 3.2004)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626421 #232164
analogous
#644421 #626421 #406421
triadic
#626421 #216264 #642162
tetradic
#626421 #216444 #232164 #642140
square
#626421 #216444 #232164 #642140
split-complementary
#626421 #214064 #442164
monochromatic
#171708 #353612 #626421 #8F9230 #BCC040

Accessibility & contrast

On white

6.24
#626421 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#626421 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626421
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626421#FFFFFF#000000##FFFFFF
##6264211.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F18
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#695E56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #626421;
/* rgb */ color: rgb(98, 100, 33);
/* oklch */ color: oklch(48.7% 0.089 110.9);
Tailwind
colors: {
  custom: {
    50: '#919060',
    500: '#626421',
    950: '#000000',
  },
}
SCSS
$custom: #626421;
$custom-light: #919060;
$custom-dark: #000000;
JSON
{
  "hex": "#626421",
  "rgb": {
    "r": 98,
    "g": 100,
    "b": 33
  },
  "hsl": {
    "h": 61.791,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.08855,
    "h": 110.9
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#626421
secondary
#4B4998
accent
#4EDA52
background
#F9F8F5
surface
#F1F0EA
border
#CBCBC6
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #626421

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

Preview Lab → · Contrast checker → · Palette generator →

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