#626A10#626A10

#626A10 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#626A10
RGBrgb(98, 106, 16)
HSLhsl(65, 74%, 24%)
HSVhsv(65, 85%, 42%)
CMYKcmyk(7.5%, 0%, 84.9%, 58.4%)
CIE-LABlab(42.68, -14.65, 44.73)
CIE-LCHlch(42.68, 47.07, 108.14°)
OKLaboklab(50.08% -0.0452 0.0971)
OKLCHoklch(50.08% 0.107 115)
XYZxyz(10.2849, 12.9423, 2.4464)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A10 #18106A
analogous
#6A4510 #626A10 #356A10
triadic
#626A10 #10626A #6A1062
tetradic
#626A10 #106A45 #18106A #6A1035
square
#626A10 #106A45 #18106A #6A1035
split-complementary
#626A10 #10356A #45106A
monochromatic
#191B04 #313508 #626A10 #939F18 #C4D420

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626A10#FFFFFF#000000##FFFFFF
##626A101.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)
#726519
Tritanopia (blue-blind)
#69635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #626a10;
/* rgb */ color: rgb(98, 106, 16);
/* oklch */ color: oklch(50.1% 0.107 115.0);
Tailwind
colors: {
  custom: {
    50: '#929458',
    500: '#626a10',
    950: '#000000',
  },
}
SCSS
$custom: #626a10;
$custom-light: #929458;
$custom-dark: #000000;
JSON
{
  "hex": "#626a10",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 16
  },
  "hsl": {
    "h": 65.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.10709,
    "h": 115
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#626A10
secondary
#3E34A2
accent
#37F048
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626A10

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

Preview Lab → · Contrast checker → · Palette generator →

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