#627D17#627D17

#627D17 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.9% C 0.127 H 124.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#627D17
RGBrgb(98, 125, 23)
HSLhsl(76, 69%, 29%)
HSVhsv(76, 82%, 49%)
CMYKcmyk(21.6%, 0%, 81.6%, 51%)
CIE-LABlab(48.67, -24.30, 47.94)
CIE-LCHlch(48.67, 53.74, 116.88°)
OKLaboklab(54.92% -0.0711 0.1052)
OKLCHoklch(54.92% 0.127 124.1)
XYZxyz(12.5254, 17.3257, 3.4947)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D17 #32177D
analogous
#7D6517 #627D17 #2F7D17
triadic
#627D17 #17627D #7D1762
tetradic
#627D17 #177D65 #32177D #7D172F
square
#627D17 #177D65 #32177D #7D172F
split-complementary
#627D17 #172F7D #65177D
monochromatic
#141A05 #39490D #627D17 #8BB121 #AEDA35

Accessibility & contrast

On white

4.70
#627D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#627D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627D17
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627D17#FFFFFF#000000##FFFFFF
##627D171.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#817322
Tritanopia (blue-blind)
#67766A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d17;
/* rgb */ color: rgb(98, 125, 23);
/* oklch */ color: oklch(54.9% 0.127 124.1);
Tailwind
colors: {
  custom: {
    50: '#92a25e',
    500: '#627d17',
    950: '#000000',
  },
}
SCSS
$custom: #627d17;
$custom-light: #92a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#627d17",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 75.882,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54924,
    "c": 0.12696,
    "h": 124.1
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#627D17
secondary
#5D3EB2
accent
#3CEC6B
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627D17

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

Preview Lab → · Contrast checker → · Palette generator →

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