#28A62F#28A62F

#28A62F is a light, vivid green. Relative luminance 0.279; OKLCH L 63.5% C 0.190 H 143.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#28A62F
RGBrgb(40, 166, 47)
HSLhsl(123, 61%, 40%)
HSVhsv(123, 76%, 65%)
CMYKcmyk(75.9%, 0%, 71.7%, 34.9%)
CIE-LABlab(59.82, -56.48, 49.53)
CIE-LCHlch(59.82, 75.12, 138.75°)
OKLaboklab(63.51% -0.153 0.1129)
OKLCHoklch(63.51% 0.19 143.6)
XYZxyz(15.0234, 27.9270, 7.2875)
Luminance0.2793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A62F #A6289F
analogous
#60A628 #28A62F #28A66E
triadic
#28A62F #2F28A6 #A62F28
tetradic
#28A62F #2860A6 #A6289F #A66E28
square
#28A62F #2860A6 #A6289F #A66E28
split-complementary
#28A62F #6E28A6 #A62860
monochromatic
#104313 #1C7521 #28A62F #3BD044 #6DDC73

Accessibility & contrast

On white

3.19
#28A62F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#28A62F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A62F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A62F#FFFFFF#000000##000000
##28A62F1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961C
Deuteranopia (green-blind)
#9B8C3B
Tritanopia (blue-blind)
#00A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #28a62f;
/* rgb */ color: rgb(40, 166, 47);
/* oklch */ color: oklch(63.5% 0.190 143.6);
Tailwind
colors: {
  custom: {
    50: '#77c26e',
    500: '#28a62f',
    950: '#000000',
  },
}
SCSS
$custom: #28a62f;
$custom-light: #77c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#28a62f",
  "rgb": {
    "r": 40,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 123.333,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63508,
    "c": 0.19016,
    "h": 143.6
  },
  "luminance": 0.27929
}

Semantic roles & 50–950 ramp

primary
#28A62F
secondary
#C267BD
accent
#44DBE4
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #28A62F

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

Preview Lab → · Contrast checker → · Palette generator →

#28A62F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva