#627E4C#627E4C

#627E4C is a mid, moderate yellow-green. Relative luminance 0.180; OKLCH L 55.8% C 0.080 H 132.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#627E4C
RGBrgb(98, 126, 76)
HSLhsl(94, 25%, 40%)
HSVhsv(94, 40%, 49%)
CMYKcmyk(22.2%, 0%, 39.7%, 50.6%)
CIE-LABlab(49.54, -19.71, 24.02)
CIE-LCHlch(49.54, 31.07, 129.37°)
OKLaboklab(55.81% -0.0539 0.0593)
OKLCHoklch(55.81% 0.08 132.3)
XYZxyz(13.8021, 18.0399, 9.5910)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E4C #684C7E
analogous
#7B7E4C #627E4C #4C7E4F
triadic
#627E4C #4C627E #7E4C62
tetradic
#627E4C #4C7B7E #684C7E #7E4F4C
square
#627E4C #4C7B7E #684C7E #7E4F4C
split-complementary
#627E4C #4F4C7E #7E4C7B
monochromatic
#27321E #445835 #627E4C #80A265 #9FB98B

Accessibility & contrast

On white

4.56
#627E4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#627E4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627E4C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E4C#FFFFFF#000000##000000
##627E4C1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#827748
Deuteranopia (green-blind)
#7E754F
Tritanopia (blue-blind)
#637A72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #627e4c;
/* rgb */ color: rgb(98, 126, 76);
/* oklch */ color: oklch(55.8% 0.080 132.3);
Tailwind
colors: {
  custom: {
    50: '#8fa37e',
    500: '#627e4c',
    950: '#000000',
  },
}
SCSS
$custom: #627e4c;
$custom-light: #8fa37e;
$custom-dark: #000000;
JSON
{
  "hex": "#627e4c",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 76
  },
  "hsl": {
    "h": 93.6,
    "s": 24.752,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55814,
    "c": 0.08015,
    "h": 132.3
  },
  "luminance": 0.1804
}

Semantic roles & 50–950 ramp

primary
#627E4C
secondary
#9580A6
accent
#67C199
background
#F8FAF7
surface
#F0F3EE
border
#CBCDC9
text
#0C0F0A
muted
#7D7F7C

Preview Lab

Preview with #627E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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