#627E40#627E40

#627E40 is a mid, moderate yellow-green. Relative luminance 0.179; OKLCH L 55.6% C 0.094 H 129.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#627E40
RGBrgb(98, 126, 64)
HSLhsl(87, 33%, 37%)
HSVhsv(87, 49%, 49%)
CMYKcmyk(22.2%, 0%, 49.2%, 50.6%)
CIE-LABlab(49.36, -21.35, 30.36)
CIE-LCHlch(49.36, 37.11, 125.11°)
OKLaboklab(55.61% -0.0592 0.073)
OKLCHoklch(55.61% 0.094 129)
XYZxyz(13.4231, 17.8883, 7.5951)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E40 #5C407E
analogous
#7E7B40 #627E40 #437E40
triadic
#627E40 #40627E #7E4062
tetradic
#627E40 #407E7B #5C407E #7E4043
square
#627E40 #407E7B #5C407E #7E4043
split-complementary
#627E40 #40437E #7B407E
monochromatic
#232D17 #42552B #627E40 #82A755 #9FBC7C

Accessibility & contrast

On white

4.59
#627E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#627E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E40
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E40#FFFFFF#000000##FFFFFF
##627E401.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773B
Deuteranopia (green-blind)
#7F7544
Tritanopia (blue-blind)
#64796F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627e40;
/* rgb */ color: rgb(98, 126, 64);
/* oklch */ color: oklch(55.6% 0.094 129.0);
Tailwind
colors: {
  custom: {
    50: '#90a376',
    500: '#627e40',
    950: '#000000',
  },
}
SCSS
$custom: #627e40;
$custom-light: #90a376;
$custom-dark: #000000;
JSON
{
  "hex": "#627e40",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 87.097,
    "s": 32.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.09402,
    "h": 129
  },
  "luminance": 0.17889
}

Semantic roles & 50–950 ramp

primary
#627E40
secondary
#8A73A7
accent
#5FC98F
background
#F8FAF7
surface
#F0F3ED
border
#CBCDC8
text
#0D0F08
muted
#7D7F7B

Preview Lab

Preview with #627E40

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

Preview Lab → · Contrast checker → · Palette generator →

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