#626E20#626E20

#626E20 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.2% C 0.102 H 117.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#626E20
RGBrgb(98, 110, 32)
HSLhsl(69, 55%, 28%)
HSVhsv(69, 71%, 43%)
CMYKcmyk(10.9%, 0%, 70.9%, 56.9%)
CIE-LABlab(44.02, -15.98, 40.09)
CIE-LCHlch(44.02, 43.16, 111.74°)
OKLaboklab(51.19% -0.0474 0.0903)
OKLCHoklch(51.19% 0.102 117.7)
XYZxyz(10.8739, 13.8529, 3.4673)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626E20 #2C206E
analogous
#6E5320 #626E20 #3B6E20
triadic
#626E20 #20626E #6E2062
tetradic
#626E20 #206E53 #2C206E #6E203B
square
#626E20 #206E53 #2C206E #6E203B
split-complementary
#626E20 #203B6E #53206E
monochromatic
#151807 #383F12 #626E20 #8C9D2E #B3C841

Accessibility & contrast

On white

5.57
#626E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#626E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626E20
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626E20#FFFFFF#000000##FFFFFF
##626E201.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766814
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#68685E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #626e20;
/* rgb */ color: rgb(98, 110, 32);
/* oklch */ color: oklch(51.2% 0.102 117.7);
Tailwind
colors: {
  custom: {
    50: '#919760',
    500: '#626e20',
    950: '#000000',
  },
}
SCSS
$custom: #626e20;
$custom-light: #919760;
$custom-dark: #000000;
JSON
{
  "hex": "#626e20",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 69.231,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.10194,
    "h": 117.7
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#626E20
secondary
#5648A2
accent
#4ADE60
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #626E20

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

Preview Lab → · Contrast checker → · Palette generator →

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