#626A16#626A16

#626A16 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.1% C 0.104 H 115.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#626A16
RGBrgb(98, 106, 22)
HSLhsl(66, 66%, 25%)
HSVhsv(66, 79%, 42%)
CMYKcmyk(7.5%, 0%, 79.2%, 58.4%)
CIE-LABlab(42.71, -14.39, 42.78)
CIE-LCHlch(42.71, 45.13, 108.59°)
OKLaboklab(50.12% -0.044 0.0941)
OKLCHoklch(50.12% 0.104 115)
XYZxyz(10.3361, 12.9628, 2.7165)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A16 #1E166A
analogous
#6A4816 #626A16 #386A16
triadic
#626A16 #16626A #6A1662
tetradic
#626A16 #166A48 #1E166A #6A1638
square
#626A16 #166A48 #1E166A #6A1638
split-complementary
#626A16 #16386A #48166A
monochromatic
#171905 #33370B #626A16 #919D21 #C0CF2B

Accessibility & contrast

On white

5.85
#626A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#626A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626A16
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626A16#FFFFFF#000000##FFFFFF
##626A161.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726403
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#69635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #626a16;
/* rgb */ color: rgb(98, 106, 22);
/* oklch */ color: oklch(50.1% 0.104 115.0);
Tailwind
colors: {
  custom: {
    50: '#91945b',
    500: '#626a16',
    950: '#000000',
  },
}
SCSS
$custom: #626a16;
$custom-light: #91945b;
$custom-dark: #000000;
JSON
{
  "hex": "#626a16",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 65.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50117,
    "c": 0.10385,
    "h": 115
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#626A16
secondary
#453BA0
accent
#3FE94F
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626A16

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

Preview Lab → · Contrast checker → · Palette generator →

#626A16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva