#627A4E#627A4E

#627A4E is a mid, moderate yellow-green. Relative luminance 0.171; OKLCH L 54.9% C 0.071 H 131.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#627A4E
RGBrgb(98, 122, 78)
HSLhsl(93, 22%, 39%)
HSVhsv(93, 36%, 48%)
CMYKcmyk(19.7%, 0%, 36.1%, 52.2%)
CIE-LABlab(48.34, -17.29, 21.32)
CIE-LCHlch(48.34, 27.45, 129.05°)
OKLaboklab(54.86% -0.0471 0.053)
OKLCHoklch(54.86% 0.071 131.6)
XYZxyz(13.3714, 17.0656, 9.7958)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A4E #664E7A
analogous
#787A4E #627A4E #4E7A50
triadic
#627A4E #4E627A #7A4E62
tetradic
#627A4E #4E787A #664E7A #7A504E
square
#627A4E #4E787A #664E7A #7A504E
split-complementary
#627A4E #504E7A #7A4E78
monochromatic
#262F1E #445536 #627A4E #809E67 #9FB68D

Accessibility & contrast

On white

4.76
#627A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#627A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627A4E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A4E#FFFFFF#000000##FFFFFF
##627A4E1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744B
Deuteranopia (green-blind)
#7A7250
Tritanopia (blue-blind)
#63776F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627a4e;
/* rgb */ color: rgb(98, 122, 78);
/* oklch */ color: oklch(54.9% 0.071 131.6);
Tailwind
colors: {
  custom: {
    50: '#8fa080',
    500: '#627a4e',
    950: '#000000',
  },
}
SCSS
$custom: #627a4e;
$custom-light: #8fa080;
$custom-dark: #000000;
JSON
{
  "hex": "#627a4e",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 92.727,
    "s": 22,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54859,
    "c": 0.07096,
    "h": 131.6
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#627A4E
secondary
#9381A3
accent
#69BF98
background
#F8F9F7
surface
#F0F2EE
border
#CBCCC9
text
#0C0E0A
muted
#7D7E7C

Preview Lab

Preview with #627A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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