#627E20#627E20

#627E20 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.123 H 124.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#627E20
RGBrgb(98, 126, 32)
HSLhsl(78, 59%, 31%)
HSVhsv(78, 75%, 49%)
CMYKcmyk(22.2%, 0%, 74.6%, 50.6%)
CIE-LABlab(49.03, -24.31, 45.12)
CIE-LCHlch(49.03, 51.25, 118.32°)
OKLaboklab(55.24% -0.0704 0.1008)
OKLCHoklch(55.24% 0.123 124.9)
XYZxyz(12.7587, 17.6225, 4.0955)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E20 #3C207E
analogous
#7E6B20 #627E20 #337E20
triadic
#627E20 #20627E #7E2062
tetradic
#627E20 #207E6B #3C207E #7E2033
square
#627E20 #207E6B #3C207E #7E2033
split-complementary
#627E20 #20337E #6B207E
monochromatic
#161C07 #3C4D14 #627E20 #88AF2C #A8D048

Accessibility & contrast

On white

4.64
#627E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#627E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E20
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E20#FFFFFF#000000##FFFFFF
##627E201.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750F
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627e20;
/* rgb */ color: rgb(98, 126, 32);
/* oklch */ color: oklch(55.2% 0.123 124.9);
Tailwind
colors: {
  custom: {
    50: '#92a362',
    500: '#627e20',
    950: '#000000',
  },
}
SCSS
$custom: #627e20;
$custom-light: #92a362;
$custom-dark: #000000;
JSON
{
  "hex": "#627e20",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 77.872,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55238,
    "c": 0.12295,
    "h": 124.9
  },
  "luminance": 0.17623
}

Semantic roles & 50–950 ramp

primary
#627E20
secondary
#6849B1
accent
#45E374
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #627E20

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

Preview Lab → · Contrast checker → · Palette generator →

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