#628A33#628A33

#628A33 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.5% C 0.125 H 130.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#628A33
RGBrgb(98, 138, 51)
HSLhsl(88, 46%, 37%)
HSVhsv(88, 63%, 54%)
CMYKcmyk(29%, 0%, 63%, 45.9%)
CIE-LABlab(52.96, -28.73, 41.09)
CIE-LCHlch(52.96, 50.14, 124.96°)
OKLaboklab(58.47% -0.0808 0.0951)
OKLCHoklch(58.47% 0.125 130.3)
XYZxyz(14.7229, 21.0122, 6.4114)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A33 #5B338A
analogous
#8A8733 #628A33 #378A33
triadic
#628A33 #33628A #8A3362
tetradic
#628A33 #338A87 #5B338A #8A3337
square
#628A33 #338A87 #5B338A #8A3337
split-complementary
#628A33 #33378A #87338A
monochromatic
#233112 #425D22 #628A33 #82B744 #9FC96E

Accessibility & contrast

On white

4.04
#628A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#628A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A33
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A33#FFFFFF#000000##000000
##628A331.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908029
Deuteranopia (green-blind)
#8A7D39
Tritanopia (blue-blind)
#648478
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a33;
/* rgb */ color: rgb(98, 138, 51);
/* oklch */ color: oklch(58.5% 0.125 130.3);
Tailwind
colors: {
  custom: {
    50: '#91ac6e',
    500: '#628a33',
    950: '#000000',
  },
}
SCSS
$custom: #628a33;
$custom-light: #91ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#628a33",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 87.586,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58472,
    "c": 0.12476,
    "h": 130.3
  },
  "luminance": 0.21013
}

Semantic roles & 50–950 ramp

primary
#628A33
secondary
#8967B1
accent
#52D68F
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628A33

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

Preview Lab → · Contrast checker → · Palette generator →

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