#627E18#627E18

#627E18 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#627E18
RGBrgb(98, 126, 24)
HSLhsl(76, 68%, 29%)
HSVhsv(76, 81%, 49%)
CMYKcmyk(22.2%, 0%, 81%, 50.6%)
CIE-LABlab(48.99, -24.75, 47.91)
CIE-LCHlch(48.99, 53.93, 117.32°)
OKLaboklab(55.18% -0.0722 0.1053)
OKLCHoklch(55.18% 0.128 124.4)
XYZxyz(12.6629, 17.5842, 3.5909)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E18 #34187E
analogous
#7E6718 #627E18 #2F7E18
triadic
#627E18 #18627E #7E1862
tetradic
#627E18 #187E67 #34187E #7E182F
square
#627E18 #187E67 #34187E #7E182F
split-complementary
#627E18 #182F7E #67187E
monochromatic
#141A05 #3A4B0E #627E18 #8AB122 #ADD937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627E18#FFFFFF#000000##FFFFFF
##627E181.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: #627e18;
/* rgb */ color: rgb(98, 126, 24);
/* oklch */ color: oklch(55.2% 0.128 124.4);
Tailwind
colors: {
  custom: {
    50: '#92a35f',
    500: '#627e18',
    950: '#000000',
  },
}
SCSS
$custom: #627e18;
$custom-light: #92a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#627e18",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 76.471,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55185,
    "c": 0.12771,
    "h": 124.4
  },
  "luminance": 0.17584
}

Semantic roles & 50–950 ramp

primary
#627E18
secondary
#5F3FB2
accent
#3DEB6D
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627E18

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

Preview Lab → · Contrast checker → · Palette generator →

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