#626420#626420

#626420 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#626420
RGBrgb(98, 100, 32)
HSLhsl(62, 52%, 26%)
HSVhsv(62, 68%, 39%)
CMYKcmyk(2%, 0%, 68%, 60.8%)
CIE-LABlab(40.92, -10.45, 36.89)
CIE-LCHlch(40.92, 38.34, 105.82°)
OKLaboklab(48.71% -0.0319 0.0835)
OKLCHoklch(48.71% 0.089 110.9)
XYZxyz(9.8552, 11.8155, 3.1277)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626420 #222064
analogous
#644420 #626420 #406420
triadic
#626420 #206264 #642062
tetradic
#626420 #206444 #222064 #642040
square
#626420 #206444 #222064 #642040
split-complementary
#626420 #204064 #442064
monochromatic
#171707 #353611 #626420 #8F922F #BDC13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626420#FFFFFF#000000##FFFFFF
##6264201.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)
#6C5F17
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#695E56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #626420;
/* rgb */ color: rgb(98, 100, 32);
/* oklch */ color: oklch(48.7% 0.089 110.9);
Tailwind
colors: {
  custom: {
    50: '#91905f',
    500: '#626420',
    950: '#000000',
  },
}
SCSS
$custom: #626420;
$custom-light: #91905f;
$custom-dark: #000000;
JSON
{
  "hex": "#626420",
  "rgb": {
    "r": 98,
    "g": 100,
    "b": 32
  },
  "hsl": {
    "h": 61.765,
    "s": 51.515,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4871,
    "c": 0.0894,
    "h": 110.9
  },
  "luminance": 0.11815
}

Semantic roles & 50–950 ramp

primary
#626420
secondary
#4A4898
accent
#4DDB51
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #626420

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

Preview Lab → · Contrast checker → · Palette generator →

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