#626B20#626B20

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

Color values

HEX#626B20
RGBrgb(98, 107, 32)
HSLhsl(67, 54%, 27%)
HSVhsv(67, 70%, 42%)
CMYKcmyk(8.4%, 0%, 70.1%, 58%)
CIE-LABlab(43.09, -14.35, 39.14)
CIE-LCHlch(43.09, 41.68, 110.14°)
OKLaboklab(50.44% -0.0428 0.0883)
OKLCHoklch(50.44% 0.098 115.9)
XYZxyz(10.5557, 13.2165, 3.3612)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626B20 #29206B
analogous
#6B4F20 #626B20 #3D6B20
triadic
#626B20 #20626B #6B2062
tetradic
#626B20 #206B4F #29206B #6B203D
square
#626B20 #206B4F #29206B #6B203D
split-complementary
#626B20 #203D6B #4F206B
monochromatic
#161807 #373C12 #626B20 #8D9A2E #B6C640

Accessibility & contrast

On white

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

On black

3.64
#626B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##626B20#FFFFFF#000000##FFFFFF
##626B201.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #626b20;
/* rgb */ color: rgb(98, 107, 32);
/* oklch */ color: oklch(50.4% 0.098 115.9);
Tailwind
colors: {
  custom: {
    50: '#919560',
    500: '#626b20',
    950: '#000000',
  },
}
SCSS
$custom: #626b20;
$custom-light: #919560;
$custom-dark: #000000;
JSON
{
  "hex": "#626b20",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 32
  },
  "hsl": {
    "h": 67.2,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50444,
    "c": 0.0981,
    "h": 115.9
  },
  "luminance": 0.13216
}

Semantic roles & 50–950 ramp

primary
#626B20
secondary
#52489F
accent
#4ADD5C
background
#F9F9F5
surface
#F1F1EA
border
#CBCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626B20

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

Preview Lab → · Contrast checker → · Palette generator →

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