#627A16#627A16

#627A16 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.2% C 0.124 H 122.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#627A16
RGBrgb(98, 122, 22)
HSLhsl(74, 69%, 28%)
HSVhsv(74, 82%, 48%)
CMYKcmyk(19.7%, 0%, 82%, 52.2%)
CIE-LABlab(47.72, -22.83, 47.39)
CIE-LCHlch(47.72, 52.60, 115.73°)
OKLaboklab(54.15% -0.0672 0.1039)
OKLCHoklch(54.15% 0.124 122.9)
XYZxyz(12.1415, 16.5736, 3.3183)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A16 #2E167A
analogous
#7A6016 #627A16 #307A16
triadic
#627A16 #16627A #7A1662
tetradic
#627A16 #167A60 #2E167A #7A1630
square
#627A16 #167A60 #2E167A #7A1630
split-complementary
#627A16 #16307A #60167A
monochromatic
#151A05 #38460D #627A16 #8CAE1F #B1DA31

Accessibility & contrast

On white

4.87
#627A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#627A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627A16
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A16#FFFFFF#000000##FFFFFF
##627A161.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7F7120
Tritanopia (blue-blind)
#677368
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #627a16;
/* rgb */ color: rgb(98, 122, 22);
/* oklch */ color: oklch(54.2% 0.124 122.9);
Tailwind
colors: {
  custom: {
    50: '#92a05d',
    500: '#627a16',
    950: '#000000',
  },
}
SCSS
$custom: #627a16;
$custom-light: #92a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#627a16",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 74.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.12367,
    "h": 122.9
  },
  "luminance": 0.16574
}

Semantic roles & 50–950 ramp

primary
#627A16
secondary
#583DAF
accent
#3CEC66
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627A16

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

Preview Lab → · Contrast checker → · Palette generator →

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