#627E16#627E16

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

Color values

HEX#627E16
RGBrgb(98, 126, 22)
HSLhsl(76, 70%, 29%)
HSVhsv(76, 83%, 49%)
CMYKcmyk(22.2%, 0%, 82.5%, 50.6%)
CIE-LABlab(48.98, -24.84, 48.53)
CIE-LCHlch(48.98, 54.52, 117.11°)
OKLaboklab(55.17% -0.0727 0.1063)
OKLCHoklch(55.17% 0.129 124.4)
XYZxyz(12.6428, 17.5762, 3.4854)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E16 #32167E
analogous
#7E6616 #627E16 #2E7E16
triadic
#627E16 #16627E #7E1662
tetradic
#627E16 #167E66 #32167E #7E162E
square
#627E16 #167E66 #32167E #7E162E
split-complementary
#627E16 #162E7E #66167E
monochromatic
#141A05 #394A0D #627E16 #8BB21F #AEDB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627E16#FFFFFF#000000##FFFFFF
##627E161.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)
#867500
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627e16;
/* rgb */ color: rgb(98, 126, 22);
/* oklch */ color: oklch(55.2% 0.129 124.4);
Tailwind
colors: {
  custom: {
    50: '#92a35e',
    500: '#627e16',
    950: '#000000',
  },
}
SCSS
$custom: #627e16;
$custom-light: #92a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#627e16",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 76.154,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55174,
    "c": 0.12872,
    "h": 124.4
  },
  "luminance": 0.17576
}

Semantic roles & 50–950 ramp

primary
#627E16
secondary
#5D3DB3
accent
#3BED6B
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627E16

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

Preview Lab → · Contrast checker → · Palette generator →

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