#627F15#627F15

#627F15 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.4% C 0.130 H 124.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#627F15
RGBrgb(98, 127, 21)
HSLhsl(76, 72%, 29%)
HSVhsv(76, 83%, 50%)
CMYKcmyk(22.8%, 0%, 83.5%, 50.2%)
CIE-LABlab(49.29, -25.38, 49.11)
CIE-LCHlch(49.29, 55.28, 117.33°)
OKLaboklab(55.42% -0.0742 0.1073)
OKLCHoklch(55.42% 0.13 124.7)
XYZxyz(12.7619, 17.8294, 3.4784)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F15 #32157F
analogous
#7F6715 #627F15 #2D7F15
triadic
#627F15 #15627F #7F1562
tetradic
#627F15 #157F67 #32157F #7F152D
square
#627F15 #157F67 #32157F #7F152D
split-complementary
#627F15 #152D7F #67157F
monochromatic
#141A04 #394A0C #627F15 #8BB41E #AEDD31

Accessibility & contrast

On white

4.60
#627F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#627F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627F15
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627F15#FFFFFF#000000##FFFFFF
##627F151.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f15;
/* rgb */ color: rgb(98, 127, 21);
/* oklch */ color: oklch(55.4% 0.130 124.7);
Tailwind
colors: {
  custom: {
    50: '#92a45e',
    500: '#627f15',
    950: '#000000',
  },
}
SCSS
$custom: #627f15;
$custom-light: #92a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#627f15",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 76.415,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55424,
    "c": 0.13047,
    "h": 124.7
  },
  "luminance": 0.1783
}

Semantic roles & 50–950 ramp

primary
#627F15
secondary
#5D3CB4
accent
#39EE6B
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627F15

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

Preview Lab → · Contrast checker → · Palette generator →

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