#626916#626916

#626916 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 49.9% C 0.103 H 114.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#626916
RGBrgb(98, 105, 22)
HSLhsl(65, 65%, 25%)
HSVhsv(65, 79%, 41%)
CMYKcmyk(6.7%, 0%, 79%, 58.8%)
CIE-LABlab(42.40, -13.84, 42.49)
CIE-LCHlch(42.40, 44.69, 108.04°)
OKLaboklab(49.87% -0.0424 0.0935)
OKLCHoklch(49.87% 0.103 114.4)
XYZxyz(10.2337, 12.7579, 2.6823)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626916 #1D1669
analogous
#694616 #626916 #396916
triadic
#626916 #166269 #691662
tetradic
#626916 #166946 #1D1669 #691639
square
#626916 #166946 #1D1669 #691639
split-complementary
#626916 #163969 #461669
monochromatic
#181905 #33360B #626916 #919C21 #C0CE2B

Accessibility & contrast

On white

5.91
#626916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#626916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626916
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626916#FFFFFF#000000##FFFFFF
##6269161.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716304
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#696259
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #626916;
/* rgb */ color: rgb(98, 105, 22);
/* oklch */ color: oklch(49.9% 0.103 114.4);
Tailwind
colors: {
  custom: {
    50: '#91935b',
    500: '#626916',
    950: '#000000',
  },
}
SCSS
$custom: #626916;
$custom-light: #91935b;
$custom-dark: #000000;
JSON
{
  "hex": "#626916",
  "rgb": {
    "r": 98,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 65.06,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49867,
    "c": 0.10265,
    "h": 114.4
  },
  "luminance": 0.12758
}

Semantic roles & 50–950 ramp

primary
#626916
secondary
#443B9F
accent
#3FE84E
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626916

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

Preview Lab → · Contrast checker → · Palette generator →

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