#28A338#28A338

#28A338 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.8% C 0.180 H 144.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#28A338
RGBrgb(40, 163, 56)
HSLhsl(128, 61%, 40%)
HSVhsv(128, 75%, 64%)
CMYKcmyk(75.5%, 0%, 65.6%, 36.1%)
CIE-LABlab(58.91, -54.59, 44.82)
CIE-LCHlch(58.91, 70.63, 140.61°)
OKLaboklab(62.77% -0.1474 0.1041)
OKLCHoklch(62.77% 0.18 144.8)
XYZxyz(14.6851, 26.9293, 8.1646)
Luminance0.2693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A338 #A32893
analogous
#55A328 #28A338 #28A376
triadic
#28A338 #3828A3 #A33828
tetradic
#28A338 #2855A3 #A32893 #A37628
square
#28A338 #2855A3 #A32893 #A37628
split-complementary
#28A338 #7628A3 #A32855
monochromatic
#104116 #1C7227 #28A338 #3ACF4D #6BDB79

Accessibility & contrast

On white

3.29
#28A338 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#28A338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A338
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A338#FFFFFF#000000##000000
##28A3381.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942B
Deuteranopia (green-blind)
#988A42
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #28a338;
/* rgb */ color: rgb(40, 163, 56);
/* oklch */ color: oklch(62.8% 0.180 144.8);
Tailwind
colors: {
  custom: {
    50: '#76bf73',
    500: '#28a338',
    950: '#000000',
  },
}
SCSS
$custom: #28a338;
$custom-light: #76bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#28a338",
  "rgb": {
    "r": 40,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 127.805,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62773,
    "c": 0.18046,
    "h": 144.8
  },
  "luminance": 0.26931
}

Semantic roles & 50–950 ramp

primary
#28A338
secondary
#C166B5
accent
#44CFE4
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #28A338

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

Preview Lab → · Contrast checker → · Palette generator →

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