#627F4E#627F4E

#627F4E is a mid, moderate yellow-green. Relative luminance 0.183; OKLCH L 56.1% C 0.079 H 133.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#627F4E
RGBrgb(98, 127, 78)
HSLhsl(96, 24%, 40%)
HSVhsv(96, 39%, 50%)
CMYKcmyk(22.8%, 0%, 38.6%, 50.2%)
CIE-LABlab(49.89, -19.93, 23.35)
CIE-LCHlch(49.89, 30.70, 130.49°)
OKLaboklab(56.1% -0.0545 0.0578)
OKLCHoklch(56.1% 0.079 133.3)
XYZxyz(14.0012, 18.3252, 10.0057)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F4E #6B4E7F
analogous
#7A7F4E #627F4E #4E7F53
triadic
#627F4E #4E627F #7F4E62
tetradic
#627F4E #4E7A7F #6B4E7F #7F534E
square
#627F4E #4E7A7F #6B4E7F #7F534E
split-complementary
#627F4E #534E7F #7F4E7A
monochromatic
#27331F #455937 #627F4E #80A268 #A0BA8E

Accessibility & contrast

On white

4.50
#627F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#627F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627F4E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F4E#FFFFFF#000000##000000
##627F4E1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83784B
Deuteranopia (green-blind)
#7E7651
Tritanopia (blue-blind)
#627B73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #627f4e;
/* rgb */ color: rgb(98, 127, 78);
/* oklch */ color: oklch(56.1% 0.079 133.3);
Tailwind
colors: {
  custom: {
    50: '#8fa480',
    500: '#627f4e',
    950: '#000000',
  },
}
SCSS
$custom: #627f4e;
$custom-light: #8fa480;
$custom-dark: #000000;
JSON
{
  "hex": "#627f4e",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 95.51,
    "s": 23.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.56102,
    "c": 0.07942,
    "h": 133.3
  },
  "luminance": 0.18325
}

Semantic roles & 50–950 ramp

primary
#627F4E
secondary
#9883A6
accent
#67C09C
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C0F0A
muted
#7D7F7C

Preview Lab

Preview with #627F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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