#627D1D#627D1D

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

Color values

HEX#627D1D
RGBrgb(98, 125, 29)
HSLhsl(77, 62%, 30%)
HSVhsv(77, 77%, 49%)
CMYKcmyk(21.6%, 0%, 76.8%, 51%)
CIE-LABlab(48.70, -23.99, 45.92)
CIE-LCHlch(48.70, 51.81, 117.58°)
OKLaboklab(54.96% -0.0698 0.102)
OKLCHoklch(54.96% 0.124 124.4)
XYZxyz(12.5925, 17.3525, 3.8481)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D1D #381D7D
analogous
#7D681D #627D1D #327D1D
triadic
#627D1D #1D627D #7D1D62
tetradic
#627D1D #1D7D68 #381D7D #7D1D32
square
#627D1D #1D7D68 #381D7D #7D1D32
split-complementary
#627D1D #1D327D #681D7D
monochromatic
#141A06 #3B4B11 #627D1D #89AF29 #AAD341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##627D1D#FFFFFF#000000##FFFFFF
##627D1D1.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)
#847509
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#67776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d1d;
/* rgb */ color: rgb(98, 125, 29);
/* oklch */ color: oklch(55.0% 0.124 124.4);
Tailwind
colors: {
  custom: {
    50: '#92a261',
    500: '#627d1d',
    950: '#000000',
  },
}
SCSS
$custom: #627d1d;
$custom-light: #92a261;
$custom-dark: #000000;
JSON
{
  "hex": "#627d1d",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 76.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54962,
    "c": 0.12356,
    "h": 124.4
  },
  "luminance": 0.17353
}

Semantic roles & 50–950 ramp

primary
#627D1D
secondary
#6345B1
accent
#42E570
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #627D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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