#28B138#28B138

#28B138 is a light, vivid green. Relative luminance 0.322; OKLCH L 66.6% C 0.197 H 144.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#28B138
RGBrgb(40, 177, 56)
HSLhsl(127, 63%, 43%)
HSVhsv(127, 77%, 69%)
CMYKcmyk(77.4%, 0%, 68.4%, 30.6%)
CIE-LABlab(63.49, -59.22, 49.80)
CIE-LCHlch(63.49, 77.38, 139.93°)
OKLaboklab(66.58% -0.16 0.1146)
OKLCHoklch(66.58% 0.197 144.4)
XYZxyz(17.3098, 32.1789, 9.0395)
Luminance0.3218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B138 #B128A1
analogous
#5DB128 #28B138 #28B17C
triadic
#28B138 #3828B1 #B13828
tetradic
#28B138 #285DB1 #B128A1 #B17C28
square
#28B138 #285DB1 #B128A1 #B17C28
split-complementary
#28B138 #7C28B1 #B1285D
monochromatic
#114D18 #1D7F28 #28B138 #42D453 #74E080

Accessibility & contrast

On white

2.82
#28B138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#28B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B138
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B138#FFFFFF#000000##000000
##28B1381.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A027
Deuteranopia (green-blind)
#A59643
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #28b138;
/* rgb */ color: rgb(40, 177, 56);
/* oklch */ color: oklch(66.6% 0.197 144.4);
Tailwind
colors: {
  custom: {
    50: '#7aca75',
    500: '#28b138',
    950: '#000000',
  },
}
SCSS
$custom: #28b138;
$custom-light: #7aca75;
$custom-dark: #000000;
JSON
{
  "hex": "#28b138",
  "rgb": {
    "r": 40,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 127.007,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66577,
    "c": 0.19682,
    "h": 144.4
  },
  "luminance": 0.32181
}

Semantic roles & 50–950 ramp

primary
#28B138
secondary
#C76EBC
accent
#42D3E6
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #28B138

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

Preview Lab → · Contrast checker → · Palette generator →

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