#627954#627954

#627954 is a mid, moderate yellow-green. Relative luminance 0.169; OKLCH L 54.7% C 0.062 H 134.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#627954
RGBrgb(98, 121, 84)
HSLhsl(97, 18%, 40%)
HSVhsv(97, 31%, 47%)
CMYKcmyk(19%, 0%, 30.6%, 52.5%)
CIE-LABlab(48.15, -15.79, 17.62)
CIE-LCHlch(48.15, 23.66, 131.86°)
OKLaboklab(54.74% -0.0429 0.0444)
OKLCHoklch(54.74% 0.062 134)
XYZxyz(13.4743, 16.9113, 10.9401)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627954 #6B5479
analogous
#757954 #627954 #547958
triadic
#627954 #546279 #795462
tetradic
#627954 #547579 #6B5479 #795854
square
#627954 #547579 #6B5479 #795854
split-complementary
#627954 #585479 #795475
monochromatic
#273122 #45553B #627954 #809B6F #A0B493

Accessibility & contrast

On white

4.79
#627954 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#627954 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627954
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627954#FFFFFF#000000##FFFFFF
##6279541.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7452
Deuteranopia (green-blind)
#787256
Tritanopia (blue-blind)
#62766F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #627954;
/* rgb */ color: rgb(98, 121, 84);
/* oklch */ color: oklch(54.7% 0.062 134.0);
Tailwind
colors: {
  custom: {
    50: '#8f9f84',
    500: '#627954',
    950: '#000000',
  },
}
SCSS
$custom: #627954;
$custom-light: #8f9f84;
$custom-dark: #000000;
JSON
{
  "hex": "#627954",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 84
  },
  "hsl": {
    "h": 97.297,
    "s": 18.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5474,
    "c": 0.0617,
    "h": 134
  },
  "luminance": 0.16912
}

Semantic roles & 50–950 ramp

primary
#627954
secondary
#9887A2
accent
#6DBB9D
background
#F8F9F8
surface
#F0F2EF
border
#CBCCCA
text
#0C0E0B
muted
#7D7E7C

Preview Lab

Preview with #627954

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

Preview Lab → · Contrast checker → · Palette generator →

#627954 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva