#627221#627221

#627221 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.2% C 0.106 H 119.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#627221
RGBrgb(98, 114, 33)
HSLhsl(72, 55%, 29%)
HSVhsv(72, 71%, 45%)
CMYKcmyk(14%, 0%, 71.1%, 55.3%)
CIE-LABlab(45.28, -18.06, 40.95)
CIE-LCHlch(45.28, 44.75, 113.80°)
OKLaboklab(52.21% -0.053 0.0922)
OKLCHoklch(52.21% 0.106 119.9)
XYZxyz(11.3290, 14.7412, 3.6870)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627221 #312172
analogous
#725A21 #627221 #3A7221
triadic
#627221 #216272 #722162
tetradic
#627221 #21725A #312172 #72213A
square
#627221 #21725A #312172 #72213A
split-complementary
#627221 #213A72 #5A2172
monochromatic
#141807 #394313 #627221 #8BA12F #AFC944

Accessibility & contrast

On white

5.32
#627221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#627221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627221
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627221#FFFFFF#000000##FFFFFF
##6272211.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B15
Deuteranopia (green-blind)
#786B27
Tritanopia (blue-blind)
#686C62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #627221;
/* rgb */ color: rgb(98, 114, 33);
/* oklch */ color: oklch(52.2% 0.106 119.9);
Tailwind
colors: {
  custom: {
    50: '#919a61',
    500: '#627221',
    950: '#000000',
  },
}
SCSS
$custom: #627221;
$custom-light: #919a61;
$custom-dark: #000000;
JSON
{
  "hex": "#627221",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 71.852,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52207,
    "c": 0.10639,
    "h": 119.9
  },
  "luminance": 0.14741
}

Semantic roles & 50–950 ramp

primary
#627221
secondary
#5C49A5
accent
#49DE67
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627221

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

Preview Lab → · Contrast checker → · Palette generator →

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