#28A32F#28A32F

#28A32F is a light, vivid green. Relative luminance 0.269; OKLCH L 62.7% C 0.187 H 143.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#28A32F
RGBrgb(40, 163, 47)
HSLhsl(123, 61%, 40%)
HSVhsv(123, 75%, 64%)
CMYKcmyk(75.5%, 0%, 71.2%, 36.1%)
CIE-LABlab(58.83, -55.49, 48.50)
CIE-LCHlch(58.83, 73.70, 138.85°)
OKLaboklab(62.69% -0.1503 0.1108)
OKLCHoklch(62.69% 0.187 143.6)
XYZxyz(14.4844, 26.8491, 7.1078)
Luminance0.2685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A32F #A3289C
analogous
#5EA328 #28A32F #28A36D
triadic
#28A32F #2F28A3 #A32F28
tetradic
#28A32F #285EA3 #A3289C #A36D28
square
#28A32F #285EA3 #A3289C #A36D28
split-complementary
#28A32F #6D28A3 #A3285E
monochromatic
#104113 #1C7221 #28A32F #3ACF42 #6BDB71

Accessibility & contrast

On white

3.30
#28A32F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#28A32F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A32F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A32F#FFFFFF#000000##000000
##28A32F1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931D
Deuteranopia (green-blind)
#998A3A
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #28a32f;
/* rgb */ color: rgb(40, 163, 47);
/* oklch */ color: oklch(62.7% 0.187 143.6);
Tailwind
colors: {
  custom: {
    50: '#77bf6e',
    500: '#28a32f',
    950: '#000000',
  },
}
SCSS
$custom: #28a32f;
$custom-light: #77bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#28a32f",
  "rgb": {
    "r": 40,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 123.415,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62687,
    "c": 0.18672,
    "h": 143.6
  },
  "luminance": 0.26851
}

Semantic roles & 50–950 ramp

primary
#28A32F
secondary
#C166BC
accent
#44DBE4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #28A32F

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

Preview Lab → · Contrast checker → · Palette generator →

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