#627D16#627D16

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

Color values

HEX#627D16
RGBrgb(98, 125, 22)
HSLhsl(76, 70%, 29%)
HSVhsv(76, 82%, 49%)
CMYKcmyk(21.6%, 0%, 82.4%, 51%)
CIE-LABlab(48.66, -24.34, 48.24)
CIE-LCHlch(48.66, 54.04, 116.78°)
OKLaboklab(54.92% -0.0713 0.1057)
OKLCHoklch(54.92% 0.127 124)
XYZxyz(12.5156, 17.3217, 3.4430)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D16 #31167D
analogous
#7D6516 #627D16 #2F7D16
triadic
#627D16 #16627D #7D1662
tetradic
#627D16 #167D65 #31167D #7D162F
square
#627D16 #167D65 #31167D #7D162F
split-complementary
#627D16 #162F7D #65167D
monochromatic
#141A05 #39490D #627D16 #8BB11F #AFDB32

Accessibility & contrast

On white

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

On black

4.46
#627D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##627D16#FFFFFF#000000##FFFFFF
##627D161.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #627d16;
/* rgb */ color: rgb(98, 125, 22);
/* oklch */ color: oklch(54.9% 0.127 124.0);
Tailwind
colors: {
  custom: {
    50: '#92a25e',
    500: '#627d16',
    950: '#000000',
  },
}
SCSS
$custom: #627d16;
$custom-light: #92a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#627d16",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 75.728,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54918,
    "c": 0.12746,
    "h": 124
  },
  "luminance": 0.17322
}

Semantic roles & 50–950 ramp

primary
#627D16
secondary
#5C3DB2
accent
#3BED6A
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627D16

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

Preview Lab → · Contrast checker → · Palette generator →

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