#626A11#626A11

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

Color values

HEX#626A11
RGBrgb(98, 106, 17)
HSLhsl(65, 72%, 24%)
HSVhsv(65, 84%, 42%)
CMYKcmyk(7.5%, 0%, 84%, 58.4%)
CIE-LABlab(42.68, -14.61, 44.43)
CIE-LCHlch(42.68, 46.77, 108.21°)
OKLaboklab(50.09% -0.045 0.0966)
OKLCHoklch(50.09% 0.107 115)
XYZxyz(10.2925, 12.9454, 2.4867)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A11 #19116A
analogous
#6A4611 #626A11 #366A11
triadic
#626A11 #11626A #6A1162
tetradic
#626A11 #116A46 #19116A #6A1136
square
#626A11 #116A46 #19116A #6A1136
split-complementary
#626A11 #11366A #46116A
monochromatic
#181A04 #313509 #626A11 #939F19 #C4D322

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626A11#FFFFFF#000000##FFFFFF
##626A111.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)
#726400
Deuteranopia (green-blind)
#72651A
Tritanopia (blue-blind)
#69635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #626a11;
/* rgb */ color: rgb(98, 106, 17);
/* oklch */ color: oklch(50.1% 0.107 115.0);
Tailwind
colors: {
  custom: {
    50: '#929459',
    500: '#626a11',
    950: '#000000',
  },
}
SCSS
$custom: #626a11;
$custom-light: #929459;
$custom-dark: #000000;
JSON
{
  "hex": "#626a11",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 17
  },
  "hsl": {
    "h": 65.393,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.1066,
    "h": 115
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#626A11
secondary
#3F35A2
accent
#39EF49
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626A11

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

Preview Lab → · Contrast checker → · Palette generator →

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