#627C2E#627C2E

#627C2E is a mid, moderate yellow-green. Relative luminance 0.172; OKLCH L 54.9% C 0.109 H 125.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#627C2E
RGBrgb(98, 124, 46)
HSLhsl(80, 46%, 33%)
HSVhsv(80, 63%, 49%)
CMYKcmyk(21%, 0%, 62.9%, 51.4%)
CIE-LABlab(48.52, -22.24, 38.52)
CIE-LCHlch(48.52, 44.48, 120.00°)
OKLaboklab(54.86% -0.0633 0.089)
OKLCHoklch(54.86% 0.109 125.4)
XYZxyz(12.7378, 17.2091, 5.2348)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C2E #482E7C
analogous
#7C6F2E #627C2E #3B7C2E
triadic
#627C2E #2E627C #7C2E62
tetradic
#627C2E #2E7C6F #482E7C #7C2E3B
square
#627C2E #2E7C6F #482E7C #7C2E3B
split-complementary
#627C2E #2E3B7C #6F2E7C
monochromatic
#1B230D #3F4F1D #627C2E #85A93F #A3C460

Accessibility & contrast

On white

4.73
#627C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#627C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627C2E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627C2E#FFFFFF#000000##FFFFFF
##627C2E1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837425
Deuteranopia (green-blind)
#7F7333
Tritanopia (blue-blind)
#66766B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627c2e;
/* rgb */ color: rgb(98, 124, 46);
/* oklch */ color: oklch(54.9% 0.109 125.4);
Tailwind
colors: {
  custom: {
    50: '#91a26a',
    500: '#627c2e',
    950: '#000000',
  },
}
SCSS
$custom: #627c2e;
$custom-light: #91a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#627c2e",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 80,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.10924,
    "h": 125.4
  },
  "luminance": 0.17209
}

Semantic roles & 50–950 ramp

primary
#627C2E
secondary
#765BAB
accent
#52D67E
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F07
muted
#7E7E7A

Preview Lab

Preview with #627C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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