#627D20#627D20

#627D20 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 55.0% C 0.122 H 124.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#627D20
RGBrgb(98, 125, 32)
HSLhsl(77, 59%, 31%)
HSVhsv(77, 74%, 49%)
CMYKcmyk(21.6%, 0%, 74.4%, 51%)
CIE-LABlab(48.72, -23.81, 44.81)
CIE-LCHlch(48.72, 50.74, 117.99°)
OKLaboklab(54.98% -0.069 0.1002)
OKLCHoklch(54.98% 0.122 124.6)
XYZxyz(12.6314, 17.3681, 4.0531)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D20 #3B207D
analogous
#7D6920 #627D20 #337D20
triadic
#627D20 #20627D #7D2062
tetradic
#627D20 #207D69 #3B207D #7D2033
square
#627D20 #207D69 #3B207D #7D2033
split-complementary
#627D20 #20337D #69207D
monochromatic
#161C07 #3C4C14 #627D20 #88AE2C #A8D047

Accessibility & contrast

On white

4.69
#627D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#627D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627D20
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627D20#FFFFFF#000000##FFFFFF
##627D201.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750F
Deuteranopia (green-blind)
#817328
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d20;
/* rgb */ color: rgb(98, 125, 32);
/* oklch */ color: oklch(55.0% 0.122 124.6);
Tailwind
colors: {
  custom: {
    50: '#92a262',
    500: '#627d20',
    950: '#000000',
  },
}
SCSS
$custom: #627d20;
$custom-light: #92a262;
$custom-dark: #000000;
JSON
{
  "hex": "#627d20",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 77.419,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54983,
    "c": 0.12163,
    "h": 124.6
  },
  "luminance": 0.17368
}

Semantic roles & 50–950 ramp

primary
#627D20
secondary
#6749B0
accent
#45E273
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #627D20

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

Preview Lab → · Contrast checker → · Palette generator →

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