#627C14#627C14

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

Color values

HEX#627C14
RGBrgb(98, 124, 20)
HSLhsl(75, 72%, 28%)
HSVhsv(75, 84%, 49%)
CMYKcmyk(21%, 0%, 83.9%, 51.4%)
CIE-LABlab(48.34, -23.93, 48.55)
CIE-LCHlch(48.34, 54.13, 116.24°)
OKLaboklab(54.65% -0.0703 0.106)
OKLCHoklch(54.65% 0.127 123.6)
XYZxyz(12.3711, 17.0624, 3.3033)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627C14 #2E147C
analogous
#7C6214 #627C14 #2E7C14
triadic
#627C14 #14627C #7C1462
tetradic
#627C14 #147C62 #2E147C #7C142E
square
#627C14 #147C62 #2E147C #7C142E
split-complementary
#627C14 #142E7C #62147C
monochromatic
#151A04 #38470B #627C14 #8CB11D #B1DD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627C14#FFFFFF#000000##FFFFFF
##627C141.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)
#80731F
Tritanopia (blue-blind)
#677569
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #627c14;
/* rgb */ color: rgb(98, 124, 20);
/* oklch */ color: oklch(54.7% 0.127 123.6);
Tailwind
colors: {
  custom: {
    50: '#92a25d',
    500: '#627c14',
    950: '#000000',
  },
}
SCSS
$custom: #627c14;
$custom-light: #92a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#627c14",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 75,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54653,
    "c": 0.12717,
    "h": 123.6
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

primary
#627C14
secondary
#583AB2
accent
#39EF66
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #627C14

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

Preview Lab → · Contrast checker → · Palette generator →

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