#28B931#28B931

#28B931 is a light, highly saturated green. Relative luminance 0.354; OKLCH L 68.7% C 0.210 H 143.5°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#28B931
RGBrgb(40, 185, 49)
HSLhsl(124, 64%, 44%)
HSVhsv(124, 78%, 73%)
CMYKcmyk(78.4%, 0%, 73.5%, 27.5%)
CIE-LABlab(66.03, -62.39, 55.16)
CIE-LCHlch(66.03, 83.28, 138.52°)
OKLaboklab(68.68% -0.169 0.125)
OKLCHoklch(68.68% 0.21 143.5)
XYZxyz(18.7772, 35.3685, 8.7423)
Luminance0.3537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B931 #B928B0
analogous
#68B928 #28B931 #28B97A
triadic
#28B931 #3128B9 #B93128
tetradic
#28B931 #2868B9 #B928B0 #B97A28
square
#28B931 #2868B9 #B928B0 #B97A28
split-complementary
#28B931 #7A28B9 #B92868
monochromatic
#125416 #1D8724 #28B931 #47D750 #79E280

Accessibility & contrast

On white

2.60
#28B931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#28B931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B931
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B931#FFFFFF#000000##000000
##28B9311.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA718
Deuteranopia (green-blind)
#AD9C3F
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #28b931;
/* rgb */ color: rgb(40, 185, 49);
/* oklch */ color: oklch(68.7% 0.210 143.5);
Tailwind
colors: {
  custom: {
    50: '#7ccf72',
    500: '#28b931',
    950: '#000000',
  },
}
SCSS
$custom: #28b931;
$custom-light: #7ccf72;
$custom-dark: #000000;
JSON
{
  "hex": "#28b931",
  "rgb": {
    "r": 40,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 123.724,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68675,
    "c": 0.21014,
    "h": 143.5
  },
  "luminance": 0.35371
}

Semantic roles & 50–950 ramp

primary
#28B931
secondary
#CA73C5
accent
#40DDE7
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #28B931

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

Preview Lab → · Contrast checker → · Palette generator →

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