#627F16#627F16

#627F16 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#627F16
RGBrgb(98, 127, 22)
HSLhsl(77, 70%, 29%)
HSVhsv(77, 83%, 50%)
CMYKcmyk(22.8%, 0%, 82.7%, 50.2%)
CIE-LABlab(49.29, -25.34, 48.81)
CIE-LCHlch(49.29, 55.00, 117.44°)
OKLaboklab(55.43% -0.074 0.1069)
OKLCHoklch(55.43% 0.13 124.7)
XYZxyz(12.7713, 17.8332, 3.5282)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F16 #33167F
analogous
#7F6816 #627F16 #2E7F16
triadic
#627F16 #16627F #7F1662
tetradic
#627F16 #167F68 #33167F #7F162E
square
#627F16 #167F68 #33167F #7F162E
split-complementary
#627F16 #162E7F #68167F
monochromatic
#141A05 #3A4B0D #627F16 #8AB31F #ADDC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627F16#FFFFFF#000000##FFFFFF
##627F161.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: #627f16;
/* rgb */ color: rgb(98, 127, 22);
/* oklch */ color: oklch(55.4% 0.130 124.7);
Tailwind
colors: {
  custom: {
    50: '#92a45e',
    500: '#627f16',
    950: '#000000',
  },
}
SCSS
$custom: #627f16;
$custom-light: #92a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#627f16",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 76.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55429,
    "c": 0.12999,
    "h": 124.7
  },
  "luminance": 0.17833
}

Semantic roles & 50–950 ramp

primary
#627F16
secondary
#5E3DB4
accent
#3BED6C
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627F16

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

Preview Lab → · Contrast checker → · Palette generator →

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