#626B2A#626B2A

#626B2A is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.5% C 0.089 H 116.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#626B2A
RGBrgb(98, 107, 42)
HSLhsl(68, 44%, 29%)
HSVhsv(68, 61%, 42%)
CMYKcmyk(8.4%, 0%, 60.7%, 58%)
CIE-LABlab(43.18, -13.57, 34.52)
CIE-LCHlch(43.18, 37.09, 111.46°)
OKLaboklab(50.55% -0.0395 0.08)
OKLCHoklch(50.55% 0.089 116.3)
XYZxyz(10.7128, 13.2794, 4.1889)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626B2A #332A6B
analogous
#6B542A #626B2A #426B2A
triadic
#626B2A #2A626B #6B2A62
tetradic
#626B2A #2A6B54 #332A6B #6B2A42
square
#626B2A #2A6B54 #332A6B #6B2A42
split-complementary
#626B2A #2A426B #542A6B
monochromatic
#141609 #3A3F19 #626B2A #8A973B #ADBC54

Accessibility & contrast

On white

5.74
#626B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#626B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626B2A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626B2A#FFFFFF#000000##FFFFFF
##626B2A1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726623
Deuteranopia (green-blind)
#71662E
Tritanopia (blue-blind)
#68655D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626b2a;
/* rgb */ color: rgb(98, 107, 42);
/* oklch */ color: oklch(50.5% 0.089 116.3);
Tailwind
colors: {
  custom: {
    50: '#909566',
    500: '#626b2a',
    950: '#000000',
  },
}
SCSS
$custom: #626b2a;
$custom-light: #909566;
$custom-dark: #000000;
JSON
{
  "hex": "#626b2a",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 42
  },
  "hsl": {
    "h": 68.308,
    "s": 43.624,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50549,
    "c": 0.08921,
    "h": 116.3
  },
  "luminance": 0.13279
}

Semantic roles & 50–950 ramp

primary
#626B2A
secondary
#5E549D
accent
#54D366
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #626B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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