#626A12#626A12

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

Color values

HEX#626A12
RGBrgb(98, 106, 18)
HSLhsl(65, 71%, 24%)
HSVhsv(65, 83%, 42%)
CMYKcmyk(7.5%, 0%, 83%, 58.4%)
CIE-LABlab(42.69, -14.57, 44.12)
CIE-LCHlch(42.69, 46.46, 108.28°)
OKLaboklab(50.09% -0.0448 0.0962)
OKLCHoklch(50.09% 0.106 115)
XYZxyz(10.3005, 12.9486, 2.5289)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A12 #1A126A
analogous
#6A4612 #626A12 #366A12
triadic
#626A12 #12626A #6A1262
tetradic
#626A12 #126A46 #1A126A #6A1236
square
#626A12 #126A46 #1A126A #6A1236
split-complementary
#626A12 #12366A #46126A
monochromatic
#181A04 #323609 #626A12 #929E1B #C3D324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626A12#FFFFFF#000000##FFFFFF
##626A121.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: #626a12;
/* rgb */ color: rgb(98, 106, 18);
/* oklch */ color: oklch(50.1% 0.106 115.0);
Tailwind
colors: {
  custom: {
    50: '#929459',
    500: '#626a12',
    950: '#000000',
  },
}
SCSS
$custom: #626a12;
$custom-light: #929459;
$custom-dark: #000000;
JSON
{
  "hex": "#626a12",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 65.455,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.50093,
    "c": 0.10609,
    "h": 115
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#626A12
secondary
#4036A2
accent
#3AEE4A
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626A12

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

Preview Lab → · Contrast checker → · Palette generator →

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