#626E16#626E16

#626E16 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.1% C 0.109 H 117.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#626E16
RGBrgb(98, 110, 22)
HSLhsl(68, 67%, 26%)
HSVhsv(68, 80%, 43%)
CMYKcmyk(10.9%, 0%, 80%, 56.9%)
CIE-LABlab(43.95, -16.56, 43.94)
CIE-LCHlch(43.95, 46.96, 110.65°)
OKLaboklab(51.12% -0.05 0.0965)
OKLCHoklch(51.12% 0.109 117.4)
XYZxyz(10.7580, 13.8066, 2.8571)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626E16 #22166E
analogous
#6E4E16 #626E16 #366E16
triadic
#626E16 #16626E #6E1662
tetradic
#626E16 #166E4E #22166E #6E1636
square
#626E16 #166E4E #22166E #6E1636
split-complementary
#626E16 #16366E #4E166E
monochromatic
#171A05 #353B0C #626E16 #8FA120 #BDD42A

Accessibility & contrast

On white

5.58
#626E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#626E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626E16
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626E16#FFFFFF#000000##FFFFFF
##626E161.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766802
Deuteranopia (green-blind)
#75681E
Tritanopia (blue-blind)
#69675E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #626e16;
/* rgb */ color: rgb(98, 110, 22);
/* oklch */ color: oklch(51.1% 0.109 117.4);
Tailwind
colors: {
  custom: {
    50: '#92975b',
    500: '#626e16',
    950: '#000000',
  },
}
SCSS
$custom: #626e16;
$custom-light: #92975b;
$custom-dark: #000000;
JSON
{
  "hex": "#626e16",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 68.182,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.1087,
    "h": 117.4
  },
  "luminance": 0.13806
}

Semantic roles & 50–950 ramp

primary
#626E16
secondary
#4A3CA4
accent
#3EEA56
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626E16

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

Preview Lab → · Contrast checker → · Palette generator →

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