#28A235#28A235

#28A235 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.5% C 0.181 H 144.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#28A235
RGBrgb(40, 162, 53)
HSLhsl(126, 60%, 40%)
HSVhsv(126, 75%, 64%)
CMYKcmyk(75.3%, 0%, 67.3%, 36.5%)
CIE-LABlab(58.55, -54.57, 45.72)
CIE-LCHlch(58.55, 71.19, 140.04°)
OKLaboklab(62.47% -0.1475 0.1057)
OKLCHoklch(62.47% 0.181 144.4)
XYZxyz(14.4370, 26.5472, 7.7307)
Luminance0.2655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A235 #A22895
analogous
#58A228 #28A235 #28A272
triadic
#28A235 #3528A2 #A23528
tetradic
#28A235 #2858A2 #A22895 #A27228
square
#28A235 #2858A2 #A22895 #A27228
split-complementary
#28A235 #7228A2 #A22858
monochromatic
#104015 #1C7125 #28A235 #39CE49 #6ADA76

Accessibility & contrast

On white

3.33
#28A235 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#28A235 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A235
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A235#FFFFFF#000000##000000
##28A2351.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59327
Deuteranopia (green-blind)
#97893F
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a235;
/* rgb */ color: rgb(40, 162, 53);
/* oklch */ color: oklch(62.5% 0.181 144.4);
Tailwind
colors: {
  custom: {
    50: '#76bf71',
    500: '#28a235',
    950: '#000000',
  },
}
SCSS
$custom: #28a235;
$custom-light: #76bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#28a235",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 126.393,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62469,
    "c": 0.18146,
    "h": 144.4
  },
  "luminance": 0.26549
}

Semantic roles & 50–950 ramp

primary
#28A235
secondary
#C165B7
accent
#44D3E4
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #28A235

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

Preview Lab → · Contrast checker → · Palette generator →

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