#28A023#28A023

#28A023 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.190 H 142.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#28A023
RGBrgb(40, 160, 35)
HSLhsl(118, 64%, 38%)
HSVhsv(118, 78%, 63%)
CMYKcmyk(75%, 0%, 78.1%, 37.3%)
CIE-LABlab(57.76, -55.48, 51.80)
CIE-LCHlch(57.76, 75.90, 136.96°)
OKLaboklab(61.77% -0.1508 0.1161)
OKLCHoklch(61.77% 0.19 142.4)
XYZxyz(13.7484, 25.7125, 5.8282)
Luminance0.2571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A023 #9B23A0
analogous
#66A023 #28A023 #23A05C
triadic
#28A023 #2328A0 #A02328
tetradic
#28A023 #2366A0 #9B23A0 #A05C23
square
#28A023 #2366A0 #9B23A0 #A05C23
split-complementary
#28A023 #5C23A0 #A02366
monochromatic
#0F3C0D #1B6E18 #28A023 #35D12F #66DC61

Accessibility & contrast

On white

3.42
#28A023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#28A023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A023
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A023#FFFFFF#000000##000000
##28A0231.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49002
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a023;
/* rgb */ color: rgb(40, 160, 35);
/* oklch */ color: oklch(61.8% 0.190 142.4);
Tailwind
colors: {
  custom: {
    50: '#76bd68',
    500: '#28a023',
    950: '#000000',
  },
}
SCSS
$custom: #28a023;
$custom-light: #76bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#28a023",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 117.6,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61772,
    "c": 0.19033,
    "h": 142.4
  },
  "luminance": 0.25714
}

Semantic roles & 50–950 ramp

primary
#28A023
secondary
#BD5DC1
accent
#41E7E0
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A023

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

Preview Lab → · Contrast checker → · Palette generator →

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