#627D1F#627D1F

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

Color values

HEX#627D1F
RGBrgb(98, 125, 31)
HSLhsl(77, 60%, 31%)
HSVhsv(77, 75%, 49%)
CMYKcmyk(21.6%, 0%, 75.2%, 51%)
CIE-LABlab(48.71, -23.87, 45.19)
CIE-LCHlch(48.71, 51.10, 117.85°)
OKLaboklab(54.98% -0.0693 0.1008)
OKLCHoklch(54.98% 0.122 124.5)
XYZxyz(12.6181, 17.3627, 3.9826)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D1F #3A1F7D
analogous
#7D691F #627D1F #337D1F
triadic
#627D1F #1F627D #7D1F62
tetradic
#627D1F #1F7D69 #3A1F7D #7D1F33
square
#627D1F #1F7D69 #3A1F7D #7D1F33
split-complementary
#627D1F #1F337D #691F7D
monochromatic
#151B07 #3C4C13 #627D1F #88AE2B #A9D145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627D1F#FFFFFF#000000##FFFFFF
##627D1F1.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)
#84750D
Deuteranopia (green-blind)
#817327
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d1f;
/* rgb */ color: rgb(98, 125, 31);
/* oklch */ color: oklch(55.0% 0.122 124.5);
Tailwind
colors: {
  custom: {
    50: '#92a262',
    500: '#627d1f',
    950: '#000000',
  },
}
SCSS
$custom: #627d1f;
$custom-light: #92a262;
$custom-dark: #000000;
JSON
{
  "hex": "#627d1f",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 77.234,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54976,
    "c": 0.12229,
    "h": 124.5
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#627D1F
secondary
#6648B0
accent
#44E372
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #627D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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