#627E30#627E30

#627E30 is a mid, moderate yellow-green. Relative luminance 0.177; OKLCH L 55.4% C 0.110 H 126.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#627E30
RGBrgb(98, 126, 48)
HSLhsl(82, 45%, 34%)
HSVhsv(82, 62%, 49%)
CMYKcmyk(22.2%, 0%, 61.9%, 50.6%)
CIE-LABlab(49.17, -23.08, 38.29)
CIE-LCHlch(49.17, 44.70, 121.08°)
OKLaboklab(55.39% -0.0654 0.0888)
OKLCHoklch(55.39% 0.11 126.4)
XYZxyz(13.0314, 17.7316, 5.5317)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627E30 #4C307E
analogous
#7E7330 #627E30 #3B7E30
triadic
#627E30 #30627E #7E3062
tetradic
#627E30 #307E73 #4C307E #7E303B
square
#627E30 #307E73 #4C307E #7E303B
split-complementary
#627E30 #303B7E #73307E
monochromatic
#1D250E #40521F #627E30 #84AA41 #A2C464

Accessibility & contrast

On white

4.62
#627E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#627E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #627E30
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627E30#FFFFFF#000000##FFFFFF
##627E301.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847627
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#66786D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #627e30;
/* rgb */ color: rgb(98, 126, 48);
/* oklch */ color: oklch(55.4% 0.110 126.4);
Tailwind
colors: {
  custom: {
    50: '#91a36c',
    500: '#627e30',
    950: '#000000',
  },
}
SCSS
$custom: #627e30;
$custom-light: #91a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#627e30",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 81.538,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55389,
    "c": 0.11028,
    "h": 126.4
  },
  "luminance": 0.17732
}

Semantic roles & 50–950 ramp

primary
#627E30
secondary
#7A5FAB
accent
#53D582
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #627E30

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

Preview Lab → · Contrast checker → · Palette generator →

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