#627E2F#627E2F

#627E2F is a mid, moderate yellow-green. Relative luminance 0.177; OKLCH L 55.4% C 0.111 H 126.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#627E2F
RGBrgb(98, 126, 47)
HSLhsl(81, 46%, 34%)
HSVhsv(81, 63%, 49%)
CMYKcmyk(22.2%, 0%, 62.7%, 50.6%)
CIE-LABlab(49.16, -23.17, 38.75)
CIE-LCHlch(49.16, 45.15, 120.87°)
OKLaboklab(55.38% -0.0658 0.0896)
OKLCHoklch(55.38% 0.111 126.3)
XYZxyz(13.0110, 17.7234, 5.4243)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E2F #4B2F7E
analogous
#7E732F #627E2F #3B7E2F
triadic
#627E2F #2F627E #7E2F62
tetradic
#627E2F #2F7E73 #4B2F7E #7E2F3B
square
#627E2F #2F7E73 #4B2F7E #7E2F3B
split-complementary
#627E2F #2F3B7E #732F7E
monochromatic
#1D250E #3F511E #627E2F #85AB40 #A2C563

Accessibility & contrast

On white

4.62
#627E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#627E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E2F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E2F#FFFFFF#000000##FFFFFF
##627E2F1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847626
Deuteranopia (green-blind)
#817435
Tritanopia (blue-blind)
#66786D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627e2f;
/* rgb */ color: rgb(98, 126, 47);
/* oklch */ color: oklch(55.4% 0.111 126.3);
Tailwind
colors: {
  custom: {
    50: '#91a36b',
    500: '#627e2f',
    950: '#000000',
  },
}
SCSS
$custom: #627e2f;
$custom-light: #91a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#627e2f",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 81.266,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55378,
    "c": 0.11119,
    "h": 126.3
  },
  "luminance": 0.17724
}

Semantic roles & 50–950 ramp

primary
#627E2F
secondary
#795DAC
accent
#52D581
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #627E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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