#626A2B#626A2B

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

Color values

HEX#626A2B
RGBrgb(98, 106, 43)
HSLhsl(68, 42%, 29%)
HSVhsv(68, 59%, 42%)
CMYKcmyk(7.5%, 0%, 59.4%, 58.4%)
CIE-LABlab(42.88, -12.93, 33.68)
CIE-LCHlch(42.88, 36.07, 111.00°)
OKLaboklab(50.31% -0.0376 0.0783)
OKLCHoklch(50.31% 0.087 115.6)
XYZxyz(10.6273, 13.0793, 4.2497)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A2B #332B6A
analogous
#6A532B #626A2B #436A2B
triadic
#626A2B #2B626A #6A2B62
tetradic
#626A2B #2B6A53 #332B6A #6A2B43
square
#626A2B #2B6A53 #332B6A #6A2B43
split-complementary
#626A2B #2B436A #532B6A
monochromatic
#141609 #3A3E19 #626A2B #8A963D #ADBA55

Accessibility & contrast

On white

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

On black

3.62
#626A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##626A2B#FFFFFF#000000##FFFFFF
##626A2B1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716524
Deuteranopia (green-blind)
#70662F
Tritanopia (blue-blind)
#68645C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #626a2b;
/* rgb */ color: rgb(98, 106, 43);
/* oklch */ color: oklch(50.3% 0.087 115.6);
Tailwind
colors: {
  custom: {
    50: '#909467',
    500: '#626a2b',
    950: '#000000',
  },
}
SCSS
$custom: #626a2b;
$custom-light: #909467;
$custom-dark: #000000;
JSON
{
  "hex": "#626a2b",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 67.619,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50314,
    "c": 0.08686,
    "h": 115.6
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#626A2B
secondary
#5E559C
accent
#56D266
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #626A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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