#626716#626716

#626716 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.4% C 0.100 H 113.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#626716
RGBrgb(98, 103, 22)
HSLhsl(64, 65%, 25%)
HSVhsv(64, 79%, 40%)
CMYKcmyk(4.9%, 0%, 78.6%, 59.6%)
CIE-LABlab(41.78, -12.73, 41.91)
CIE-LCHlch(41.78, 43.80, 106.90°)
OKLaboklab(49.37% -0.0394 0.0922)
OKLCHoklch(49.37% 0.1 113.1)
XYZxyz(10.0324, 12.3553, 2.6152)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626716 #1B1667
analogous
#674416 #626716 #3A6716
triadic
#626716 #166267 #671662
tetradic
#626716 #166744 #1B1667 #67163A
square
#626716 #166744 #1B1667 #67163A
split-complementary
#626716 #163A67 #441667
monochromatic
#181905 #32350B #626716 #929921 #C2CC2C

Accessibility & contrast

On white

6.05
#626716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#626716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626716
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626716#FFFFFF#000000##FFFFFF
##6267161.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6205
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#696058
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #626716;
/* rgb */ color: rgb(98, 103, 22);
/* oklch */ color: oklch(49.4% 0.100 113.1);
Tailwind
colors: {
  custom: {
    50: '#91925a',
    500: '#626716',
    950: '#000000',
  },
}
SCSS
$custom: #626716;
$custom-light: #91925a;
$custom-dark: #000000;
JSON
{
  "hex": "#626716",
  "rgb": {
    "r": 98,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 63.704,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.10029,
    "h": 113.1
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#626716
secondary
#413B9E
accent
#40E84A
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626716

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

Preview Lab → · Contrast checker → · Palette generator →

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