#627E17#627E17

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

Color values

HEX#627E17
RGBrgb(98, 126, 23)
HSLhsl(76, 69%, 29%)
HSVhsv(76, 82%, 49%)
CMYKcmyk(22.2%, 0%, 81.7%, 50.6%)
CIE-LABlab(48.98, -24.80, 48.22)
CIE-LCHlch(48.98, 54.23, 117.21°)
OKLaboklab(55.18% -0.0724 0.1058)
OKLCHoklch(55.18% 0.128 124.4)
XYZxyz(12.6526, 17.5801, 3.5372)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E17 #33177E
analogous
#7E6717 #627E17 #2E7E17
triadic
#627E17 #17627E #7E1762
tetradic
#627E17 #177E67 #33177E #7E172E
square
#627E17 #177E67 #33177E #7E172E
split-complementary
#627E17 #172E7E #67177E
monochromatic
#141A05 #3A4A0E #627E17 #8AB220 #ADDA35

Accessibility & contrast

On white

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

On black

4.52
#627E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##627E17#FFFFFF#000000##FFFFFF
##627E171.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627e17;
/* rgb */ color: rgb(98, 126, 23);
/* oklch */ color: oklch(55.2% 0.128 124.4);
Tailwind
colors: {
  custom: {
    50: '#92a35e',
    500: '#627e17',
    950: '#000000',
  },
}
SCSS
$custom: #627e17;
$custom-light: #92a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#627e17",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 76.311,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.12822,
    "h": 124.4
  },
  "luminance": 0.1758
}

Semantic roles & 50–950 ramp

primary
#627E17
secondary
#5E3EB3
accent
#3CEC6C
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627E17

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

Preview Lab → · Contrast checker → · Palette generator →

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