#28B438#28B438

#28B438 is a light, highly saturated green. Relative luminance 0.334; OKLCH L 67.4% C 0.200 H 144.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#28B438
RGBrgb(40, 180, 56)
HSLhsl(127, 64%, 43%)
HSVhsv(127, 78%, 71%)
CMYKcmyk(77.8%, 0%, 68.9%, 29.4%)
CIE-LABlab(64.47, -60.19, 50.85)
CIE-LCHlch(64.47, 78.79, 139.81°)
OKLaboklab(67.39% -0.1626 0.1168)
OKLCHoklch(67.39% 0.2 144.3)
XYZxyz(17.9089, 33.3770, 9.2392)
Luminance0.3338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B438 #B428A4
analogous
#5EB428 #28B438 #28B47E
triadic
#28B438 #3828B4 #B43828
tetradic
#28B438 #285EB4 #B428A4 #B47E28
square
#28B438 #285EB4 #B428A4 #B47E28
split-complementary
#28B438 #7E28B4 #B4285E
monochromatic
#125019 #1D8228 #28B438 #44D554 #76E182

Accessibility & contrast

On white

2.74
#28B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#28B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B438
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B438#FFFFFF#000000##000000
##28B4381.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A326
Deuteranopia (green-blind)
#A89844
Tritanopia (blue-blind)
#00AF9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #28b438;
/* rgb */ color: rgb(40, 180, 56);
/* oklch */ color: oklch(67.4% 0.200 144.3);
Tailwind
colors: {
  custom: {
    50: '#7acc75',
    500: '#28b438',
    950: '#000000',
  },
}
SCSS
$custom: #28b438;
$custom-light: #7acc75;
$custom-dark: #000000;
JSON
{
  "hex": "#28b438",
  "rgb": {
    "r": 40,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 126.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67387,
    "c": 0.20024,
    "h": 144.3
  },
  "luminance": 0.33379
}

Semantic roles & 50–950 ramp

primary
#28B438
secondary
#C870BE
accent
#41D4E7
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #28B438

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

Preview Lab → · Contrast checker → · Palette generator →

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