#628D30#628D30

#628D30 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.2% C 0.131 H 130.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#628D30
RGBrgb(98, 141, 48)
HSLhsl(88, 49%, 37%)
HSVhsv(88, 66%, 55%)
CMYKcmyk(30.5%, 0%, 66%, 44.7%)
CIE-LABlab(53.88, -30.42, 43.45)
CIE-LCHlch(53.88, 53.05, 125.00°)
OKLaboklab(59.21% -0.0857 0.0997)
OKLCHoklch(59.21% 0.131 130.7)
XYZxyz(15.0952, 21.8594, 6.2197)
Luminance0.2186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D30 #5B308D
analogous
#8D8A30 #628D30 #348D30
triadic
#628D30 #30628D #8D3062
tetradic
#628D30 #308D8A #5B308D #8D3034
square
#628D30 #308D8A #5B308D #8D3034
split-complementary
#628D30 #30348D #8A308D
monochromatic
#233211 #425F20 #628D30 #82BB40 #9FCD6B

Accessibility & contrast

On white

3.91
#628D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#628D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D30
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D30#FFFFFF#000000##000000
##628D301.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938324
Deuteranopia (green-blind)
#8D8037
Tritanopia (blue-blind)
#64877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d30;
/* rgb */ color: rgb(98, 141, 48);
/* oklch */ color: oklch(59.2% 0.131 130.7);
Tailwind
colors: {
  custom: {
    50: '#92ae6d',
    500: '#628d30',
    950: '#000000',
  },
}
SCSS
$custom: #628d30;
$custom-light: #92ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#628d30",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 87.742,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59206,
    "c": 0.13148,
    "h": 130.7
  },
  "luminance": 0.2186
}

Semantic roles & 50–950 ramp

primary
#628D30
secondary
#8965B4
accent
#4FD98F
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628D30

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

Preview Lab → · Contrast checker → · Palette generator →

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