#28C338#28C338

#28C338 is a light, highly saturated green. Relative luminance 0.398; OKLCH L 71.4% C 0.217 H 144.0°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#28C338
RGBrgb(40, 195, 56)
HSLhsl(126, 66%, 46%)
HSVhsv(126, 79%, 76%)
CMYKcmyk(79.5%, 0%, 71.3%, 23.5%)
CIE-LABlab(69.30, -64.92, 55.93)
CIE-LCHlch(69.30, 85.69, 139.25°)
OKLaboklab(71.41% -0.1755 0.1275)
OKLCHoklch(71.41% 0.217 144)
XYZxyz(21.1026, 39.7643, 10.3037)
Luminance0.3977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C338 #C328B3
analogous
#65C328 #28C338 #28C385
triadic
#28C338 #3828C3 #C33828
tetradic
#28C338 #2865C3 #C328B3 #C38528
square
#28C338 #2865C3 #C328B3 #C38528
split-complementary
#28C338 #8528C3 #C32865
monochromatic
#135D1B #1E9029 #28C338 #4EDB5C #80E58B

Accessibility & contrast

On white

2.35
#28C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#28C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28C338
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28C338#FFFFFF#000000##000000
##28C3381.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B021
Deuteranopia (green-blind)
#B6A546
Tritanopia (blue-blind)
#00BEA8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #28c338;
/* rgb */ color: rgb(40, 195, 56);
/* oklch */ color: oklch(71.4% 0.217 144.0);
Tailwind
colors: {
  custom: {
    50: '#7ed676',
    500: '#28c338',
    950: '#000000',
  },
}
SCSS
$custom: #28c338;
$custom-light: #7ed676;
$custom-dark: #000000;
JSON
{
  "hex": "#28c338",
  "rgb": {
    "r": 40,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 126.194,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71406,
    "c": 0.21691,
    "h": 144
  },
  "luminance": 0.39767
}

Semantic roles & 50–950 ramp

primary
#28C338
secondary
#CE79C5
accent
#3FD7E9
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1409
muted
#7D837B

Preview Lab

Preview with #28C338

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

Preview Lab → · Contrast checker → · Palette generator →

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