#626316#626316

#626316 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.4% C 0.096 H 110.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#626316
RGBrgb(98, 99, 22)
HSLhsl(61, 64%, 24%)
HSVhsv(61, 78%, 39%)
CMYKcmyk(1%, 0%, 77.8%, 61.2%)
CIE-LABlab(40.54, -10.49, 40.74)
CIE-LCHlch(40.54, 42.07, 104.44°)
OKLaboklab(48.38% -0.0331 0.0898)
OKLCHoklch(48.38% 0.096 110.2)
XYZxyz(9.6440, 11.5786, 2.4858)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626316 #171663
analogous
#633D16 #626316 #3B6316
triadic
#626316 #166263 #631662
tetradic
#626316 #16633D #171663 #63163B
square
#626316 #16633D #171663 #63163B
split-complementary
#626316 #163B63 #3D1663
monochromatic
#191906 #30310B #626316 #949521 #C5C72C

Accessibility & contrast

On white

6.33
#626316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#626316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626316
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626316#FFFFFF#000000##FFFFFF
##6263161.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E06
Deuteranopia (green-blind)
#6C611C
Tritanopia (blue-blind)
#695C54
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #626316;
/* rgb */ color: rgb(98, 99, 22);
/* oklch */ color: oklch(48.4% 0.096 110.2);
Tailwind
colors: {
  custom: {
    50: '#918f5a',
    500: '#626316',
    950: '#000000',
  },
}
SCSS
$custom: #626316;
$custom-light: #918f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#626316",
  "rgb": {
    "r": 98,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 60.779,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4838,
    "c": 0.09569,
    "h": 110.2
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

primary
#626316
secondary
#3C3B9A
accent
#41E743
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626316

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

Preview Lab → · Contrast checker → · Palette generator →

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