#626A2A#626A2A

#626A2A is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.3% C 0.088 H 115.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#626A2A
RGBrgb(98, 106, 42)
HSLhsl(68, 43%, 29%)
HSVhsv(68, 60%, 42%)
CMYKcmyk(7.5%, 0%, 60.4%, 58.4%)
CIE-LABlab(42.87, -13.01, 34.17)
CIE-LCHlch(42.87, 36.57, 110.85°)
OKLaboklab(50.3% -0.038 0.0792)
OKLCHoklch(50.3% 0.088 115.6)
XYZxyz(10.6092, 13.0720, 4.1543)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A2A #322A6A
analogous
#6A522A #626A2A #426A2A
triadic
#626A2A #2A626A #6A2A62
tetradic
#626A2A #2A6A52 #322A6A #6A2A42
square
#626A2A #2A6A52 #322A6A #6A2A42
split-complementary
#626A2A #2A426A #522A6A
monochromatic
#141609 #393E19 #626A2A #8B963B #AEBB53

Accessibility & contrast

On white

5.81
#626A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#626A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626A2A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626A2A#FFFFFF#000000##FFFFFF
##626A2A1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716523
Deuteranopia (green-blind)
#71662E
Tritanopia (blue-blind)
#68645C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #626a2a;
/* rgb */ color: rgb(98, 106, 42);
/* oklch */ color: oklch(50.3% 0.088 115.6);
Tailwind
colors: {
  custom: {
    50: '#909466',
    500: '#626a2a',
    950: '#000000',
  },
}
SCSS
$custom: #626a2a;
$custom-light: #909466;
$custom-dark: #000000;
JSON
{
  "hex": "#626a2a",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 42
  },
  "hsl": {
    "h": 67.5,
    "s": 43.243,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50301,
    "c": 0.08786,
    "h": 115.6
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#626A2A
secondary
#5D549C
accent
#55D365
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #626A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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