#626B16#626B16

#626B16 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.4% C 0.105 H 115.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#626B16
RGBrgb(98, 107, 22)
HSLhsl(66, 66%, 25%)
HSVhsv(66, 79%, 42%)
CMYKcmyk(8.4%, 0%, 79.4%, 58%)
CIE-LABlab(43.02, -14.94, 43.07)
CIE-LCHlch(43.02, 45.59, 109.13°)
OKLaboklab(50.37% -0.0455 0.0947)
OKLCHoklch(50.37% 0.105 115.6)
XYZxyz(10.4398, 13.1702, 2.7510)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626B16 #1F166B
analogous
#6B4916 #626B16 #376B16
triadic
#626B16 #16626B #6B1662
tetradic
#626B16 #166B49 #1F166B #6B1637
square
#626B16 #166B49 #1F166B #6B1637
split-complementary
#626B16 #16376B #49166B
monochromatic
#171905 #34380C #626B16 #909E20 #BFD12B

Accessibility & contrast

On white

5.78
#626B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#626B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626B16
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626B16#FFFFFF#000000##FFFFFF
##626B161.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736503
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#69645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626b16;
/* rgb */ color: rgb(98, 107, 22);
/* oklch */ color: oklch(50.4% 0.105 115.6);
Tailwind
colors: {
  custom: {
    50: '#91955b',
    500: '#626b16',
    950: '#000000',
  },
}
SCSS
$custom: #626b16;
$custom-light: #91955b;
$custom-dark: #000000;
JSON
{
  "hex": "#626b16",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 66.353,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50367,
    "c": 0.10505,
    "h": 115.6
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#626B16
secondary
#463BA1
accent
#3FE951
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626B16

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

Preview Lab → · Contrast checker → · Palette generator →

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