#626416#626416

#626416 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.6% C 0.097 H 111.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#626416
RGBrgb(98, 100, 22)
HSLhsl(62, 64%, 24%)
HSVhsv(62, 78%, 39%)
CMYKcmyk(2%, 0%, 78%, 60.8%)
CIE-LABlab(40.85, -11.06, 41.03)
CIE-LCHlch(40.85, 42.50, 105.08°)
OKLaboklab(48.63% -0.0347 0.0904)
OKLCHoklch(48.63% 0.097 111)
XYZxyz(9.7393, 11.7692, 2.5175)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626416 #181664
analogous
#643F16 #626416 #3B6416
triadic
#626416 #166264 #641662
tetradic
#626416 #16643F #181664 #64163B
square
#626416 #16643F #181664 #64163B
split-complementary
#626416 #163B64 #3F1664
monochromatic
#191906 #31320B #626416 #939621 #C4C82C

Accessibility & contrast

On white

6.26
#626416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#626416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626416
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626416#FFFFFF#000000##FFFFFF
##6264161.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F06
Deuteranopia (green-blind)
#6D611C
Tritanopia (blue-blind)
#695D55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #626416;
/* rgb */ color: rgb(98, 100, 22);
/* oklch */ color: oklch(48.6% 0.097 111.0);
Tailwind
colors: {
  custom: {
    50: '#918f5a',
    500: '#626416',
    950: '#000000',
  },
}
SCSS
$custom: #626416;
$custom-light: #918f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#626416",
  "rgb": {
    "r": 98,
    "g": 100,
    "b": 22
  },
  "hsl": {
    "h": 61.538,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48627,
    "c": 0.09682,
    "h": 111
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#626416
secondary
#3E3B9B
accent
#41E745
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626416

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

Preview Lab → · Contrast checker → · Palette generator →

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