#627D14#627D14

#627D14 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.9% C 0.128 H 123.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#627D14
RGBrgb(98, 125, 20)
HSLhsl(75, 72%, 28%)
HSVhsv(75, 84%, 49%)
CMYKcmyk(21.6%, 0%, 84%, 51%)
CIE-LABlab(48.65, -24.43, 48.83)
CIE-LCHlch(48.65, 54.60, 116.58°)
OKLaboklab(54.91% -0.0717 0.1066)
OKLCHoklch(54.91% 0.128 123.9)
XYZxyz(12.4970, 17.3143, 3.3453)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D14 #2F147D
analogous
#7D6314 #627D14 #2D7D14
triadic
#627D14 #14627D #7D1462
tetradic
#627D14 #147D63 #2F147D #7D142D
square
#627D14 #147D63 #2F147D #7D142D
split-complementary
#627D14 #142D7D #63147D
monochromatic
#151A04 #39480C #627D14 #8BB21C #B0DE2E

Accessibility & contrast

On white

4.71
#627D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#627D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627D14
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627D14#FFFFFF#000000##FFFFFF
##627D141.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#67766A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d14;
/* rgb */ color: rgb(98, 125, 20);
/* oklch */ color: oklch(54.9% 0.128 123.9);
Tailwind
colors: {
  custom: {
    50: '#92a25d',
    500: '#627d14',
    950: '#000000',
  },
}
SCSS
$custom: #627d14;
$custom-light: #92a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#627d14",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 75.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54908,
    "c": 0.12841,
    "h": 123.9
  },
  "luminance": 0.17314
}

Semantic roles & 50–950 ramp

primary
#627D14
secondary
#593AB2
accent
#39EF68
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627D14

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

Preview Lab → · Contrast checker → · Palette generator →

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