#628E30#628E30

#628E30 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.133 H 130.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#628E30
RGBrgb(98, 142, 48)
HSLhsl(88, 49%, 37%)
HSVhsv(88, 66%, 56%)
CMYKcmyk(31%, 0%, 66.2%, 44.3%)
CIE-LABlab(54.19, -30.90, 43.79)
CIE-LCHlch(54.19, 53.59, 125.20°)
OKLaboklab(59.46% -0.087 0.1004)
OKLCHoklch(59.46% 0.133 130.9)
XYZxyz(15.2434, 22.1556, 6.2691)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E30 #5C308E
analogous
#8E8B30 #628E30 #338E30
triadic
#628E30 #30628E #8E3062
tetradic
#628E30 #308E8B #5C308E #8E3033
square
#628E30 #308E8B #5C308E #8E3033
split-complementary
#628E30 #30338E #8B308E
monochromatic
#233311 #426021 #628E30 #82BC3F #9FCD6B

Accessibility & contrast

On white

3.87
#628E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#628E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E30
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E30#FFFFFF#000000##000000
##628E301.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948424
Deuteranopia (green-blind)
#8E8037
Tritanopia (blue-blind)
#64887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e30;
/* rgb */ color: rgb(98, 142, 48);
/* oklch */ color: oklch(59.5% 0.133 130.9);
Tailwind
colors: {
  custom: {
    50: '#92af6d',
    500: '#628e30',
    950: '#000000',
  },
}
SCSS
$custom: #628e30;
$custom-light: #92af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#628e30",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 88.085,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59461,
    "c": 0.13287,
    "h": 130.9
  },
  "luminance": 0.22156
}

Semantic roles & 50–950 ramp

primary
#628E30
secondary
#8A65B4
accent
#4FD98F
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628E30

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

Preview Lab → · Contrast checker → · Palette generator →

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