#627D1E#627D1E

#627D1E is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 55.0% C 0.123 H 124.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#627D1E
RGBrgb(98, 125, 30)
HSLhsl(77, 61%, 30%)
HSVhsv(77, 76%, 49%)
CMYKcmyk(21.6%, 0%, 76%, 51%)
CIE-LABlab(48.71, -23.93, 45.56)
CIE-LCHlch(48.71, 51.46, 117.71°)
OKLaboklab(54.97% -0.0695 0.1014)
OKLCHoklch(54.97% 0.123 124.4)
XYZxyz(12.6051, 17.3575, 3.9143)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D1E #391E7D
analogous
#7D681E #627D1E #327D1E
triadic
#627D1E #1E627D #7D1E62
tetradic
#627D1E #1E7D68 #391E7D #7D1E32
square
#627D1E #1E7D68 #391E7D #7D1E32
split-complementary
#627D1E #1E327D #681E7D
monochromatic
#151A06 #3B4C12 #627D1E #89AE2A #A9D243

Accessibility & contrast

On white

4.70
#627D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#627D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #627D1E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627D1E#FFFFFF#000000##FFFFFF
##627D1E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750B
Deuteranopia (green-blind)
#817327
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d1e;
/* rgb */ color: rgb(98, 125, 30);
/* oklch */ color: oklch(55.0% 0.123 124.4);
Tailwind
colors: {
  custom: {
    50: '#92a261',
    500: '#627d1e',
    950: '#000000',
  },
}
SCSS
$custom: #627d1e;
$custom-light: #92a261;
$custom-dark: #000000;
JSON
{
  "hex": "#627d1e",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 77.053,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54969,
    "c": 0.12294,
    "h": 124.4
  },
  "luminance": 0.17358
}

Semantic roles & 50–950 ramp

primary
#627D1E
secondary
#6546B0
accent
#43E471
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #627D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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