#627E27#627E27

#627E27 is a mid, moderate yellow-green. Relative luminance 0.177; OKLCH L 55.3% C 0.118 H 125.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#627E27
RGBrgb(98, 126, 39)
HSLhsl(79, 53%, 32%)
HSVhsv(79, 69%, 49%)
CMYKcmyk(22.2%, 0%, 69%, 50.6%)
CIE-LABlab(49.09, -23.83, 42.31)
CIE-LCHlch(49.09, 48.56, 119.39°)
OKLaboklab(55.3% -0.0684 0.096)
OKLCHoklch(55.3% 0.118 125.5)
XYZxyz(12.8641, 17.6647, 4.6510)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E27 #43277E
analogous
#7E6E27 #627E27 #377E27
triadic
#627E27 #27627E #7E2762
tetradic
#627E27 #277E6E #43277E #7E2737
square
#627E27 #277E6E #43277E #7E2737
split-complementary
#627E27 #27377E #6E277E
monochromatic
#19210A #3E4F19 #627E27 #86AD35 #A5CA55

Accessibility & contrast

On white

4.63
#627E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#627E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E27
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E27#FFFFFF#000000##FFFFFF
##627E271.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761B
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#66786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627e27;
/* rgb */ color: rgb(98, 126, 39);
/* oklch */ color: oklch(55.3% 0.118 125.5);
Tailwind
colors: {
  custom: {
    50: '#91a366',
    500: '#627e27',
    950: '#000000',
  },
}
SCSS
$custom: #627e27;
$custom-light: #91a366;
$custom-dark: #000000;
JSON
{
  "hex": "#627e27",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 79.31,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.11791,
    "h": 125.5
  },
  "luminance": 0.17665
}

Semantic roles & 50–950 ramp

primary
#627E27
secondary
#7052AF
accent
#4CDC7A
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627E27

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

Preview Lab → · Contrast checker → · Palette generator →

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