#627A14#627A14

#627A14 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.1% C 0.125 H 122.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#627A14
RGBrgb(98, 122, 20)
HSLhsl(74, 72%, 28%)
HSVhsv(74, 84%, 48%)
CMYKcmyk(19.7%, 0%, 83.6%, 52.2%)
CIE-LABlab(47.71, -22.92, 47.99)
CIE-LCHlch(47.71, 53.18, 115.53°)
OKLaboklab(54.14% -0.0675 0.1048)
OKLCHoklch(54.14% 0.125 122.8)
XYZxyz(12.1230, 16.5662, 3.2206)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627A14 #2C147A
analogous
#7A5F14 #627A14 #2F7A14
triadic
#627A14 #14627A #7A1462
tetradic
#627A14 #147A5F #2C147A #7A142F
square
#627A14 #147A5F #2C147A #7A142F
split-complementary
#627A14 #142F7A #5F147A
monochromatic
#151A04 #38450B #627A14 #8CAF1D #B3DC2C

Accessibility & contrast

On white

4.87
#627A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#627A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627A14
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627A14#FFFFFF#000000##FFFFFF
##627A141.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#687368
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #627a14;
/* rgb */ color: rgb(98, 122, 20);
/* oklch */ color: oklch(54.1% 0.125 122.8);
Tailwind
colors: {
  custom: {
    50: '#92a05c',
    500: '#627a14',
    950: '#000000',
  },
}
SCSS
$custom: #627a14;
$custom-light: #92a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#627a14",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 74.118,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54143,
    "c": 0.12466,
    "h": 122.8
  },
  "luminance": 0.16566
}

Semantic roles & 50–950 ramp

primary
#627A14
secondary
#563AB0
accent
#39EF64
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #627A14

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

Preview Lab → · Contrast checker → · Palette generator →

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