#626B22#626B22

#626B22 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.5% C 0.096 H 116.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#626B22
RGBrgb(98, 107, 34)
HSLhsl(67, 52%, 28%)
HSVhsv(67, 68%, 42%)
CMYKcmyk(8.4%, 0%, 68.2%, 58%)
CIE-LABlab(43.10, -14.21, 38.26)
CIE-LCHlch(43.10, 40.81, 110.38°)
OKLaboklab(50.46% -0.0422 0.0867)
OKLCHoklch(50.46% 0.096 116)
XYZxyz(10.5837, 13.2277, 3.5087)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626B22 #2B226B
analogous
#6B4F22 #626B22 #3E6B22
triadic
#626B22 #22626B #6B2262
tetradic
#626B22 #226B4F #2B226B #6B223E
square
#626B22 #226B4F #2B226B #6B223E
split-complementary
#626B22 #223E6B #4F226B
monochromatic
#151707 #373D13 #626B22 #8D9931 #B4C444

Accessibility & contrast

On white

5.76
#626B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#626B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626B22
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626B22#FFFFFF#000000##FFFFFF
##626B221.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736518
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#68655C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #626b22;
/* rgb */ color: rgb(98, 107, 34);
/* oklch */ color: oklch(50.5% 0.096 116.0);
Tailwind
colors: {
  custom: {
    50: '#919561',
    500: '#626b22',
    950: '#000000',
  },
}
SCSS
$custom: #626b22;
$custom-light: #919561;
$custom-dark: #000000;
JSON
{
  "hex": "#626b22",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 67.397,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.09647,
    "h": 116
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#626B22
secondary
#554A9F
accent
#4DDB5E
background
#F9F9F5
surface
#F1F1EA
border
#CBCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626B22

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

Preview Lab → · Contrast checker → · Palette generator →

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