#626A15#626A15

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

Color values

HEX#626A15
RGBrgb(98, 106, 21)
HSLhsl(66, 67%, 25%)
HSVhsv(66, 80%, 42%)
CMYKcmyk(7.5%, 0%, 80.2%, 58.4%)
CIE-LABlab(42.70, -14.44, 43.13)
CIE-LCHlch(42.70, 45.48, 108.51°)
OKLaboklab(50.11% -0.0442 0.0946)
OKLCHoklch(50.11% 0.104 115)
XYZxyz(10.3267, 12.9591, 2.6667)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A15 #1D156A
analogous
#6A4815 #626A15 #386A15
triadic
#626A15 #15626A #6A1562
tetradic
#626A15 #156A48 #1D156A #6A1538
square
#626A15 #156A48 #1D156A #6A1538
split-complementary
#626A15 #15386A #48156A
monochromatic
#181A05 #33370B #626A15 #919D1F #C0D029

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #626a15;
/* rgb */ color: rgb(98, 106, 21);
/* oklch */ color: oklch(50.1% 0.104 115.0);
Tailwind
colors: {
  custom: {
    50: '#92945a',
    500: '#626a15',
    950: '#000000',
  },
}
SCSS
$custom: #626a15;
$custom-light: #92945a;
$custom-dark: #000000;
JSON
{
  "hex": "#626a15",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 65.647,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50111,
    "c": 0.10444,
    "h": 115
  },
  "luminance": 0.12959
}

Semantic roles & 50–950 ramp

primary
#626A15
secondary
#443AA1
accent
#3EEA4E
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626A15

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

Preview Lab → · Contrast checker → · Palette generator →

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