#627E24#627E24

#627E24 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.3% C 0.120 H 125.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#627E24
RGBrgb(98, 126, 36)
HSLhsl(79, 56%, 32%)
HSVhsv(79, 71%, 49%)
CMYKcmyk(22.2%, 0%, 71.4%, 50.6%)
CIE-LABlab(49.06, -24.05, 43.55)
CIE-LCHlch(49.06, 49.75, 118.91°)
OKLaboklab(55.27% -0.0693 0.0982)
OKLCHoklch(55.27% 0.12 125.2)
XYZxyz(12.8164, 17.6456, 4.3994)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E24 #40247E
analogous
#7E6D24 #627E24 #357E24
triadic
#627E24 #24627E #7E2462
tetradic
#627E24 #247E6D #40247E #7E2435
square
#627E24 #247E6D #40247E #7E2435
split-complementary
#627E24 #24357E #6D247E
monochromatic
#181F09 #3D4E16 #627E24 #87AE32 #A6CD50

Accessibility & contrast

On white

4.64
#627E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #627E24
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E24#FFFFFF#000000##FFFFFF
##627E241.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627e24;
/* rgb */ color: rgb(98, 126, 36);
/* oklch */ color: oklch(55.3% 0.120 125.2);
Tailwind
colors: {
  custom: {
    50: '#91a365',
    500: '#627e24',
    950: '#000000',
  },
}
SCSS
$custom: #627e24;
$custom-light: #91a365;
$custom-dark: #000000;
JSON
{
  "hex": "#627e24",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 78.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5527,
    "c": 0.12016,
    "h": 125.2
  },
  "luminance": 0.17646
}

Semantic roles & 50–950 ramp

primary
#627E24
secondary
#6C4EB0
accent
#49DF78
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #627E24

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

Preview Lab → · Contrast checker → · Palette generator →

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