#28BA23#28BA23

#28BA23 is a light, highly saturated green. Relative luminance 0.357; OKLCH L 68.9% C 0.218 H 142.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#28BA23
RGBrgb(40, 186, 35)
HSLhsl(118, 68%, 43%)
HSVhsv(118, 81%, 73%)
CMYKcmyk(78.5%, 0%, 81.2%, 27.1%)
CIE-LABlab(66.28, -63.66, 59.91)
CIE-LCHlch(66.28, 87.42, 136.74°)
OKLaboklab(68.86% -0.173 0.133)
OKLCHoklch(68.86% 0.218 142.4)
XYZxyz(18.7362, 35.6880, 7.4908)
Luminance0.3569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28BA23 #B523BA
analogous
#73BA23 #28BA23 #23BA69
triadic
#28BA23 #2328BA #BA2328
tetradic
#28BA23 #2373BA #B523BA #BA6923
square
#28BA23 #2373BA #B523BA #BA6923
split-complementary
#28BA23 #6923BA #BA2373
monochromatic
#125310 #1D8619 #28BA23 #44DB3F #77E573

Accessibility & contrast

On white

2.58
#28BA23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#28BA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28BA23
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28BA23#FFFFFF#000000##000000
##28BA231.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #28ba23;
/* rgb */ color: rgb(40, 186, 35);
/* oklch */ color: oklch(68.9% 0.218 142.4);
Tailwind
colors: {
  custom: {
    50: '#7dd06b',
    500: '#28ba23',
    950: '#000000',
  },
}
SCSS
$custom: #28ba23;
$custom-light: #7dd06b;
$custom-dark: #000000;
JSON
{
  "hex": "#28ba23",
  "rgb": {
    "r": 40,
    "g": 186,
    "b": 35
  },
  "hsl": {
    "h": 118.013,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68855,
    "c": 0.21822,
    "h": 142.4
  },
  "luminance": 0.3569
}

Semantic roles & 50–950 ramp

primary
#28BA23
secondary
#C86DCC
accent
#3DEBE5
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1407
muted
#7D827A

Preview Lab

Preview with #28BA23

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

Preview Lab → · Contrast checker → · Palette generator →

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