#626612#626612

#626612 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.1% C 0.101 H 112.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#626612
RGBrgb(98, 102, 18)
HSLhsl(63, 70%, 24%)
HSVhsv(63, 82%, 40%)
CMYKcmyk(3.9%, 0%, 82.4%, 60%)
CIE-LABlab(41.44, -12.36, 43.01)
CIE-LCHlch(41.44, 44.75, 106.04°)
OKLaboklab(49.1% -0.0387 0.0938)
OKLCHoklch(49.1% 0.101 112.4)
XYZxyz(9.8979, 12.1433, 2.3946)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626612 #161266
analogous
#664012 #626612 #386612
triadic
#626612 #126266 #661262
tetradic
#626612 #126640 #161266 #661238
square
#626612 #126640 #161266 #661238
split-complementary
#626612 #123866 #401266
monochromatic
#191A05 #303209 #626612 #949A1B #C6CE24

Accessibility & contrast

On white

6.12
#626612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#626612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626612
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626612#FFFFFF#000000##FFFFFF
##6266121.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#695F57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #626612;
/* rgb */ color: rgb(98, 102, 18);
/* oklch */ color: oklch(49.1% 0.101 112.4);
Tailwind
colors: {
  custom: {
    50: '#929158',
    500: '#626612',
    950: '#000000',
  },
}
SCSS
$custom: #626612;
$custom-light: #929158;
$custom-dark: #000000;
JSON
{
  "hex": "#626612",
  "rgb": {
    "r": 98,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 62.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.10146,
    "h": 112.4
  },
  "luminance": 0.12143
}

Semantic roles & 50–950 ramp

primary
#626612
secondary
#3B369E
accent
#3BED43
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #626612

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

Preview Lab → · Contrast checker → · Palette generator →

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