#28A233#28A233

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

Color values

HEX#28A233
RGBrgb(40, 162, 51)
HSLhsl(125, 60%, 40%)
HSVhsv(125, 75%, 64%)
CMYKcmyk(75.3%, 0%, 68.5%, 36.5%)
CIE-LABlab(58.54, -54.78, 46.55)
CIE-LCHlch(58.54, 71.88, 139.64°)
OKLaboklab(62.45% -0.1482 0.1072)
OKLCHoklch(62.45% 0.183 144.1)
XYZxyz(14.3920, 26.5291, 7.4935)
Luminance0.2653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A233 #A22897
analogous
#5AA228 #28A233 #28A270
triadic
#28A233 #3328A2 #A23328
tetradic
#28A233 #285AA2 #A22897 #A27028
square
#28A233 #285AA2 #A22897 #A27028
split-complementary
#28A233 #7028A2 #A2285A
monochromatic
#104014 #1C7124 #28A233 #39CE47 #6ADA74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A233#FFFFFF#000000##000000
##28A2331.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)
#A59324
Deuteranopia (green-blind)
#97893D
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a233;
/* rgb */ color: rgb(40, 162, 51);
/* oklch */ color: oklch(62.5% 0.183 144.1);
Tailwind
colors: {
  custom: {
    50: '#76bf70',
    500: '#28a233',
    950: '#000000',
  },
}
SCSS
$custom: #28a233;
$custom-light: #76bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#28a233",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 125.41,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6245,
    "c": 0.18287,
    "h": 144.1
  },
  "luminance": 0.26531
}

Semantic roles & 50–950 ramp

primary
#28A233
secondary
#C165B8
accent
#44D5E4
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #28A233

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

Preview Lab → · Contrast checker → · Palette generator →

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