#626720#626720

#626720 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.5% C 0.093 H 113.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#626720
RGBrgb(98, 103, 32)
HSLhsl(64, 53%, 26%)
HSVhsv(64, 69%, 40%)
CMYKcmyk(4.9%, 0%, 68.9%, 59.6%)
CIE-LABlab(41.85, -12.14, 37.85)
CIE-LCHlch(41.85, 39.75, 107.78°)
OKLaboklab(49.45% -0.0366 0.0856)
OKLCHoklch(49.45% 0.093 113.2)
XYZxyz(10.1482, 12.4017, 3.2254)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626720 #252067
analogous
#674920 #626720 #3F6720
triadic
#626720 #206267 #672062
tetradic
#626720 #206749 #252067 #67203F
square
#626720 #206749 #252067 #67203F
split-complementary
#626720 #203F67 #492067
monochromatic
#161707 #363811 #626720 #8E962F #BAC33E

Accessibility & contrast

On white

6.03
#626720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#626720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626720
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626720#FFFFFF#000000##FFFFFF
##6267201.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6216
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#696159
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #626720;
/* rgb */ color: rgb(98, 103, 32);
/* oklch */ color: oklch(49.5% 0.093 113.2);
Tailwind
colors: {
  custom: {
    50: '#919260',
    500: '#626720',
    950: '#000000',
  },
}
SCSS
$custom: #626720;
$custom-light: #919260;
$custom-dark: #000000;
JSON
{
  "hex": "#626720",
  "rgb": {
    "r": 98,
    "g": 103,
    "b": 32
  },
  "hsl": {
    "h": 64.225,
    "s": 52.593,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.09307,
    "h": 113.2
  },
  "luminance": 0.12401
}

Semantic roles & 50–950 ramp

primary
#626720
secondary
#4E489B
accent
#4CDC56
background
#F9F8F5
surface
#F1F0EA
border
#CBCBC6
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #626720

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

Preview Lab → · Contrast checker → · Palette generator →

#626720 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva