#627F14#627F14

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

Color values

HEX#627F14
RGBrgb(98, 127, 20)
HSLhsl(76, 73%, 29%)
HSVhsv(76, 84%, 50%)
CMYKcmyk(22.8%, 0%, 84.3%, 50.2%)
CIE-LABlab(49.28, -25.43, 49.39)
CIE-LCHlch(49.28, 55.55, 117.24°)
OKLaboklab(55.42% -0.0744 0.1078)
OKLCHoklch(55.42% 0.131 124.6)
XYZxyz(12.7528, 17.8258, 3.4305)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627F14 #31147F
analogous
#7F6714 #627F14 #2D7F14
triadic
#627F14 #14627F #7F1462
tetradic
#627F14 #147F67 #31147F #7F142D
square
#627F14 #147F67 #31147F #7F142D
split-complementary
#627F14 #142D7F #67147F
monochromatic
#141A04 #394A0C #627F14 #8BB41C #AFDE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627F14#FFFFFF#000000##FFFFFF
##627F141.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)
#837520
Tritanopia (blue-blind)
#67786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627f14;
/* rgb */ color: rgb(98, 127, 20);
/* oklch */ color: oklch(55.4% 0.131 124.6);
Tailwind
colors: {
  custom: {
    50: '#92a45d',
    500: '#627f14',
    950: '#000000',
  },
}
SCSS
$custom: #627f14;
$custom-light: #92a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#627f14",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 76.262,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55419,
    "c": 0.13092,
    "h": 124.6
  },
  "luminance": 0.17826
}

Semantic roles & 50–950 ramp

primary
#627F14
secondary
#5C3BB4
accent
#38EF6A
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627F14

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

Preview Lab → · Contrast checker → · Palette generator →

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