#626A1A#626A1A

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

Color values

HEX#626A1A
RGBrgb(98, 106, 26)
HSLhsl(66, 61%, 26%)
HSVhsv(66, 75%, 42%)
CMYKcmyk(7.5%, 0%, 75.5%, 58.4%)
CIE-LABlab(42.73, -14.18, 41.29)
CIE-LCHlch(42.73, 43.66, 108.95°)
OKLaboklab(50.15% -0.043 0.0917)
OKLCHoklch(50.15% 0.101 115.1)
XYZxyz(10.3778, 12.9795, 2.9357)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A1A #221A6A
analogous
#6A4A1A #626A1A #3A6A1A
triadic
#626A1A #1A626A #6A1A62
tetradic
#626A1A #1A6A4A #221A6A #6A1A3A
square
#626A1A #1A6A4A #221A6A #6A1A3A
split-complementary
#626A1A #1A3A6A #4A1A6A
monochromatic
#171906 #35390E #626A1A #8F9B26 #BDCC32

Accessibility & contrast

On white

5.84
#626A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#626A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626A1A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626A1A#FFFFFF#000000##FFFFFF
##626A1A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640B
Deuteranopia (green-blind)
#716620
Tritanopia (blue-blind)
#69645A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #626a1a;
/* rgb */ color: rgb(98, 106, 26);
/* oklch */ color: oklch(50.1% 0.101 115.1);
Tailwind
colors: {
  custom: {
    50: '#91945d',
    500: '#626a1a',
    950: '#000000',
  },
}
SCSS
$custom: #626a1a;
$custom-light: #91945d;
$custom-dark: #000000;
JSON
{
  "hex": "#626a1a",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 26
  },
  "hsl": {
    "h": 66,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.10128,
    "h": 115.1
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#626A1A
secondary
#4A409F
accent
#44E454
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #626A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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