#626B2B#626B2B

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

Color values

HEX#626B2B
RGBrgb(98, 107, 43)
HSLhsl(68, 43%, 29%)
HSVhsv(68, 60%, 42%)
CMYKcmyk(8.4%, 0%, 59.8%, 58%)
CIE-LABlab(43.19, -13.48, 34.03)
CIE-LCHlch(43.19, 36.60, 111.61°)
OKLaboklab(50.56% -0.0391 0.0791)
OKLCHoklch(50.56% 0.088 116.3)
XYZxyz(10.7309, 13.2866, 4.2843)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626B2B #342B6B
analogous
#6B542B #626B2B #426B2B
triadic
#626B2B #2B626B #6B2B62
tetradic
#626B2B #2B6B54 #342B6B #6B2B42
square
#626B2B #2B6B54 #342B6B #6B2B42
split-complementary
#626B2B #2B426B #542B6B
monochromatic
#141609 #3A3F19 #626B2B #8A973D #ADBB56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626B2B#FFFFFF#000000##FFFFFF
##626B2B1.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)
#726624
Deuteranopia (green-blind)
#71662F
Tritanopia (blue-blind)
#68655D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626b2b;
/* rgb */ color: rgb(98, 107, 43);
/* oklch */ color: oklch(50.6% 0.088 116.3);
Tailwind
colors: {
  custom: {
    50: '#909567',
    500: '#626b2b',
    950: '#000000',
  },
}
SCSS
$custom: #626b2b;
$custom-light: #909567;
$custom-dark: #000000;
JSON
{
  "hex": "#626b2b",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 43
  },
  "hsl": {
    "h": 68.438,
    "s": 42.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50561,
    "c": 0.08822,
    "h": 116.3
  },
  "luminance": 0.13286
}

Semantic roles & 50–950 ramp

primary
#626B2B
secondary
#5F559D
accent
#55D267
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #626B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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