#627B4E#627B4E

#627B4E is a mid, moderate yellow-green. Relative luminance 0.173; OKLCH L 55.1% C 0.073 H 132.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#627B4E
RGBrgb(98, 123, 78)
HSLhsl(93, 22%, 39%)
HSVhsv(93, 37%, 48%)
CMYKcmyk(20.3%, 0%, 36.6%, 51.8%)
CIE-LABlab(48.65, -17.83, 21.73)
CIE-LCHlch(48.65, 28.10, 129.37°)
OKLaboklab(55.11% -0.0486 0.054)
OKLCHoklch(55.11% 0.073 132)
XYZxyz(13.4948, 17.3124, 9.8369)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627B4E #674E7B
analogous
#797B4E #627B4E #4E7B51
triadic
#627B4E #4E627B #7B4E62
tetradic
#627B4E #4E797B #674E7B #7B514E
square
#627B4E #4E797B #674E7B #7B514E
split-complementary
#627B4E #514E7B #7B4E79
monochromatic
#26301F #445636 #627B4E #809F67 #9FB78D

Accessibility & contrast

On white

4.71
#627B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#627B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627B4E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627B4E#FFFFFF#000000##FFFFFF
##627B4E1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754B
Deuteranopia (green-blind)
#7B7350
Tritanopia (blue-blind)
#637770
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627b4e;
/* rgb */ color: rgb(98, 123, 78);
/* oklch */ color: oklch(55.1% 0.073 132.0);
Tailwind
colors: {
  custom: {
    50: '#8fa180',
    500: '#627b4e',
    950: '#000000',
  },
}
SCSS
$custom: #627b4e;
$custom-light: #8fa180;
$custom-dark: #000000;
JSON
{
  "hex": "#627b4e",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 93.333,
    "s": 22.388,
    "l": 39.412
  },
  "oklch": {
    "l": 0.55107,
    "c": 0.07265,
    "h": 132
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#627B4E
secondary
#9481A3
accent
#69BF99
background
#F8F9F7
surface
#F0F2EE
border
#CBCCC9
text
#0C0F0A
muted
#7D7E7C

Preview Lab

Preview with #627B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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