#628C30#628C30

#628C30 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.0% C 0.130 H 130.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#628C30
RGBrgb(98, 140, 48)
HSLhsl(87, 49%, 37%)
HSVhsv(87, 66%, 55%)
CMYKcmyk(30%, 0%, 65.7%, 45.1%)
CIE-LABlab(53.56, -29.95, 43.11)
CIE-LCHlch(53.56, 52.50, 124.79°)
OKLaboklab(58.95% -0.0844 0.099)
OKLCHoklch(58.95% 0.13 130.4)
XYZxyz(14.9485, 21.5658, 6.1708)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C30 #5A308C
analogous
#8C8830 #628C30 #348C30
triadic
#628C30 #30628C #8C3062
tetradic
#628C30 #308C88 #5A308C #8C3034
square
#628C30 #308C88 #5A308C #8C3034
split-complementary
#628C30 #30348C #88308C
monochromatic
#223111 #425E20 #628C30 #82BA40 #9FCC6A

Accessibility & contrast

On white

3.95
#628C30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#628C30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C30
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C30#FFFFFF#000000##000000
##628C301.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928224
Deuteranopia (green-blind)
#8C7F37
Tritanopia (blue-blind)
#648679
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c30;
/* rgb */ color: rgb(98, 140, 48);
/* oklch */ color: oklch(59.0% 0.130 130.4);
Tailwind
colors: {
  custom: {
    50: '#92ae6d',
    500: '#628c30',
    950: '#000000',
  },
}
SCSS
$custom: #628c30;
$custom-light: #92ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#628c30",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 48
  },
  "hsl": {
    "h": 87.391,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5895,
    "c": 0.13009,
    "h": 130.4
  },
  "luminance": 0.21566
}

Semantic roles & 50–950 ramp

primary
#628C30
secondary
#8864B3
accent
#4FD88E
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628C30

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

Preview Lab → · Contrast checker → · Palette generator →

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