#627E15#627E15

#627E15 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.129 H 124.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#627E15
RGBrgb(98, 126, 21)
HSLhsl(76, 71%, 29%)
HSVhsv(76, 83%, 49%)
CMYKcmyk(22.2%, 0%, 83.3%, 50.6%)
CIE-LABlab(48.97, -24.89, 48.82)
CIE-LCHlch(48.97, 54.80, 117.01°)
OKLaboklab(55.17% -0.0728 0.1067)
OKLCHoklch(55.17% 0.129 124.3)
XYZxyz(12.6334, 17.5724, 3.4356)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E15 #31157E
analogous
#7E6615 #627E15 #2E7E15
triadic
#627E15 #15627E #7E1562
tetradic
#627E15 #157E66 #31157E #7E152E
square
#627E15 #157E66 #31157E #7E152E
split-complementary
#627E15 #152E7E #66157E
monochromatic
#141A04 #394A0C #627E15 #8BB21E #AFDD31

Accessibility & contrast

On white

4.65
#627E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#627E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E15
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E15#FFFFFF#000000##FFFFFF
##627E151.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627e15;
/* rgb */ color: rgb(98, 126, 21);
/* oklch */ color: oklch(55.2% 0.129 124.3);
Tailwind
colors: {
  custom: {
    50: '#92a35d',
    500: '#627e15',
    950: '#000000',
  },
}
SCSS
$custom: #627e15;
$custom-light: #92a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#627e15",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 76,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.12921,
    "h": 124.3
  },
  "luminance": 0.17573
}

Semantic roles & 50–950 ramp

primary
#627E15
secondary
#5C3CB3
accent
#3AEE6A
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627E15

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

Preview Lab → · Contrast checker → · Palette generator →

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