#627D30#627D30

#627D30 is a mid, moderate yellow-green. Relative luminance 0.175; OKLCH L 55.1% C 0.109 H 126.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#627D30
RGBrgb(98, 125, 48)
HSLhsl(81, 45%, 34%)
HSVhsv(81, 62%, 49%)
CMYKcmyk(21.6%, 0%, 61.6%, 51%)
CIE-LABlab(48.86, -22.57, 37.94)
CIE-LCHlch(48.86, 44.14, 120.75°)
OKLaboklab(55.14% -0.064 0.088)
OKLCHoklch(55.14% 0.109 126)
XYZxyz(12.9041, 17.4771, 5.4893)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627D30 #4B307D
analogous
#7D7230 #627D30 #3C7D30
triadic
#627D30 #30627D #7D3062
tetradic
#627D30 #307D72 #4B307D #7D303C
square
#627D30 #307D72 #4B307D #7D303C
split-complementary
#627D30 #303C7D #72307D
monochromatic
#1D250E #3F511F #627D30 #85A941 #A2C364

Accessibility & contrast

On white

4.67
#627D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#627D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627D30
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627D30#FFFFFF#000000##FFFFFF
##627D301.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837528
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#66776C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #627d30;
/* rgb */ color: rgb(98, 125, 48);
/* oklch */ color: oklch(55.1% 0.109 126.0);
Tailwind
colors: {
  custom: {
    50: '#91a26b',
    500: '#627d30',
    950: '#000000',
  },
}
SCSS
$custom: #627d30;
$custom-light: #91a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#627d30",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 48
  },
  "hsl": {
    "h": 81.039,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55136,
    "c": 0.10885,
    "h": 126
  },
  "luminance": 0.17477
}

Semantic roles & 50–950 ramp

primary
#627D30
secondary
#795EAB
accent
#54D481
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #627D30

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

Preview Lab → · Contrast checker → · Palette generator →

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