#627C16#627C16

#627C16 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.126 H 123.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#627C16
RGBrgb(98, 124, 22)
HSLhsl(75, 70%, 29%)
HSVhsv(75, 82%, 49%)
CMYKcmyk(21%, 0%, 82.3%, 51.4%)
CIE-LABlab(48.35, -23.84, 47.96)
CIE-LCHlch(48.35, 53.56, 116.43°)
OKLaboklab(54.66% -0.0699 0.1051)
OKLCHoklch(54.66% 0.126 123.6)
XYZxyz(12.3896, 17.0698, 3.4010)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C16 #30167C
analogous
#7C6316 #627C16 #2F7C16
triadic
#627C16 #16627C #7C1662
tetradic
#627C16 #167C63 #30167C #7C162F
square
#627C16 #167C63 #30167C #7C162F
split-complementary
#627C16 #162F7C #63167C
monochromatic
#151A05 #39480D #627C16 #8BB01F #B0DB32

Accessibility & contrast

On white

4.76
#627C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#627C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627C16
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627C16#FFFFFF#000000##FFFFFF
##627C161.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#677569
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627c16;
/* rgb */ color: rgb(98, 124, 22);
/* oklch */ color: oklch(54.7% 0.126 123.6);
Tailwind
colors: {
  custom: {
    50: '#92a25d',
    500: '#627c16',
    950: '#000000',
  },
}
SCSS
$custom: #627c16;
$custom-light: #92a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#627c16",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 75.294,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54663,
    "c": 0.1262,
    "h": 123.6
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#627C16
secondary
#5A3DB1
accent
#3BED68
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #627C16

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

Preview Lab → · Contrast checker → · Palette generator →

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