#627A17#627A17

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

Color values

HEX#627A17
RGBrgb(98, 122, 23)
HSLhsl(75, 68%, 28%)
HSVhsv(75, 81%, 48%)
CMYKcmyk(19.7%, 0%, 81.1%, 52.2%)
CIE-LABlab(47.72, -22.79, 47.07)
CIE-LCHlch(47.72, 52.30, 115.83°)
OKLaboklab(54.16% -0.067 0.1034)
OKLCHoklch(54.16% 0.123 122.9)
XYZxyz(12.1514, 16.5775, 3.3701)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A17 #2F177A
analogous
#7A6017 #627A17 #317A17
triadic
#627A17 #17627A #7A1762
tetradic
#627A17 #177A60 #2F177A #7A1731
square
#627A17 #177A60 #2F177A #7A1731
split-complementary
#627A17 #17317A #60177A
monochromatic
#151A05 #39470D #627A17 #8BAD21 #B0D933

Accessibility & contrast

On white

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

On black

4.32
#627A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##627A17#FFFFFF#000000##FFFFFF
##627A171.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627a17;
/* rgb */ color: rgb(98, 122, 23);
/* oklch */ color: oklch(54.2% 0.123 122.9);
Tailwind
colors: {
  custom: {
    50: '#92a05e',
    500: '#627a17',
    950: '#000000',
  },
}
SCSS
$custom: #627a17;
$custom-light: #92a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#627a17",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 74.545,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.12315,
    "h": 122.9
  },
  "luminance": 0.16578
}

Semantic roles & 50–950 ramp

primary
#627A17
secondary
#593EAF
accent
#3DEB67
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #627A17

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

Preview Lab → · Contrast checker → · Palette generator →

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