#626516#626516

#626516 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.9% C 0.098 H 111.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#626516
RGBrgb(98, 101, 22)
HSLhsl(62, 64%, 24%)
HSVhsv(62, 78%, 40%)
CMYKcmyk(3%, 0%, 78.2%, 60.4%)
CIE-LABlab(41.16, -11.62, 41.33)
CIE-LCHlch(41.16, 42.93, 105.70°)
OKLaboklab(48.87% -0.0363 0.091)
OKLCHoklch(48.87% 0.098 111.7)
XYZxyz(9.8358, 11.9622, 2.5497)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626516 #191665
analogous
#654116 #626516 #3B6516
triadic
#626516 #166265 #651662
tetradic
#626516 #166541 #191665 #65163B
square
#626516 #166541 #191665 #65163B
split-complementary
#626516 #163B65 #411665
monochromatic
#181905 #31330B #626516 #939721 #C4CA2C

Accessibility & contrast

On white

6.19
#626516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#626516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626516
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626516#FFFFFF#000000##FFFFFF
##6265161.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6006
Deuteranopia (green-blind)
#6E621C
Tritanopia (blue-blind)
#695E56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #626516;
/* rgb */ color: rgb(98, 101, 22);
/* oklch */ color: oklch(48.9% 0.098 111.7);
Tailwind
colors: {
  custom: {
    50: '#91905a',
    500: '#626516',
    950: '#000000',
  },
}
SCSS
$custom: #626516;
$custom-light: #91905a;
$custom-dark: #000000;
JSON
{
  "hex": "#626516",
  "rgb": {
    "r": 98,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 62.278,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48874,
    "c": 0.09797,
    "h": 111.7
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#626516
secondary
#3F3B9C
accent
#41E747
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626516

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

Preview Lab → · Contrast checker → · Palette generator →

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