#626616#626616

#626616 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.1% C 0.099 H 112.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#626616
RGBrgb(98, 102, 22)
HSLhsl(63, 65%, 24%)
HSVhsv(63, 78%, 40%)
CMYKcmyk(3.9%, 0%, 78.4%, 60%)
CIE-LABlab(41.47, -12.18, 41.62)
CIE-LCHlch(41.47, 43.36, 106.31°)
OKLaboklab(49.12% -0.0378 0.0916)
OKLCHoklch(49.12% 0.099 112.4)
XYZxyz(9.9335, 12.1576, 2.5823)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626616 #1A1666
analogous
#664216 #626616 #3A6616
triadic
#626616 #166266 #661662
tetradic
#626616 #166642 #1A1666 #66163A
square
#626616 #166642 #1A1666 #66163A
split-complementary
#626616 #163A66 #421666
monochromatic
#181905 #32340B #626616 #929821 #C3CB2C

Accessibility & contrast

On white

6.12
#626616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #626616
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626616#FFFFFF#000000##FFFFFF
##6266161.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6105
Deuteranopia (green-blind)
#6E631D
Tritanopia (blue-blind)
#695F57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #626616;
/* rgb */ color: rgb(98, 102, 22);
/* oklch */ color: oklch(49.1% 0.099 112.4);
Tailwind
colors: {
  custom: {
    50: '#91915a',
    500: '#626616',
    950: '#000000',
  },
}
SCSS
$custom: #626616;
$custom-light: #91915a;
$custom-dark: #000000;
JSON
{
  "hex": "#626616",
  "rgb": {
    "r": 98,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 63,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49122,
    "c": 0.09912,
    "h": 112.4
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#626616
secondary
#403B9D
accent
#40E849
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626616

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

Preview Lab → · Contrast checker → · Palette generator →

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