#627C2F#627C2F

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

Color values

HEX#627C2F
RGBrgb(98, 124, 47)
HSLhsl(80, 45%, 34%)
HSVhsv(80, 62%, 49%)
CMYKcmyk(21%, 0%, 62.1%, 51.4%)
CIE-LABlab(48.53, -22.15, 38.06)
CIE-LCHlch(48.53, 44.03, 120.20°)
OKLaboklab(54.87% -0.063 0.0882)
OKLCHoklch(54.87% 0.108 125.5)
XYZxyz(12.7578, 17.2171, 5.3399)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C2F #492F7C
analogous
#7C6F2F #627C2F #3B7C2F
triadic
#627C2F #2F627C #7C2F62
tetradic
#627C2F #2F7C6F #492F7C #7C2F3B
square
#627C2F #2F7C6F #492F7C #7C2F3B
split-complementary
#627C2F #2F3B7C #6F2F7C
monochromatic
#1C230D #3F501E #627C2F #85A840 #A3C362

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627C2F#FFFFFF#000000##FFFFFF
##627C2F1.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)
#827426
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#66766C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627c2f;
/* rgb */ color: rgb(98, 124, 47);
/* oklch */ color: oklch(54.9% 0.108 125.5);
Tailwind
colors: {
  custom: {
    50: '#91a26b',
    500: '#627c2f',
    950: '#000000',
  },
}
SCSS
$custom: #627c2f;
$custom-light: #91a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#627c2f",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 80.26,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54872,
    "c": 0.10833,
    "h": 125.5
  },
  "luminance": 0.17217
}

Semantic roles & 50–950 ramp

primary
#627C2F
secondary
#775CAA
accent
#53D57F
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0F07
muted
#7E7E7A

Preview Lab

Preview with #627C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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