#28B338#28B338

#28B338 is a light, vivid green. Relative luminance 0.330; OKLCH L 67.1% C 0.199 H 144.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#28B338
RGBrgb(40, 179, 56)
HSLhsl(127, 63%, 43%)
HSVhsv(127, 78%, 70%)
CMYKcmyk(77.7%, 0%, 68.7%, 29.8%)
CIE-LABlab(64.14, -59.86, 50.50)
CIE-LCHlch(64.14, 78.32, 139.85°)
OKLaboklab(67.12% -0.1618 0.1161)
OKLCHoklch(67.12% 0.199 144.3)
XYZxyz(17.7078, 32.9747, 9.1721)
Luminance0.3298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B338 #B328A3
analogous
#5EB328 #28B338 #28B37D
triadic
#28B338 #3828B3 #B33828
tetradic
#28B338 #285EB3 #B328A3 #B37D28
square
#28B338 #285EB3 #B328A3 #B37D28
split-complementary
#28B338 #7D28B3 #B3285E
monochromatic
#124F19 #1D8128 #28B338 #43D554 #75E082

Accessibility & contrast

On white

2.76
#28B338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#28B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B338
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B338#FFFFFF#000000##000000
##28B3381.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A226
Deuteranopia (green-blind)
#A79744
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #28b338;
/* rgb */ color: rgb(40, 179, 56);
/* oklch */ color: oklch(67.1% 0.199 144.3);
Tailwind
colors: {
  custom: {
    50: '#7acb75',
    500: '#28b338',
    950: '#000000',
  },
}
SCSS
$custom: #28b338;
$custom-light: #7acb75;
$custom-dark: #000000;
JSON
{
  "hex": "#28b338",
  "rgb": {
    "r": 40,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 126.906,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67117,
    "c": 0.1991,
    "h": 144.3
  },
  "luminance": 0.32977
}

Semantic roles & 50–950 ramp

primary
#28B338
secondary
#C86FBD
accent
#41D3E6
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #28B338

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

Preview Lab → · Contrast checker → · Palette generator →

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