#28A229#28A229

#28A229 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.4% C 0.189 H 143.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#28A229
RGBrgb(40, 162, 41)
HSLhsl(120, 60%, 40%)
HSVhsv(120, 75%, 64%)
CMYKcmyk(75.3%, 0%, 74.7%, 36.5%)
CIE-LABlab(58.46, -55.68, 50.40)
CIE-LCHlch(58.46, 75.10, 137.85°)
OKLaboklab(62.37% -0.1511 0.114)
OKLCHoklch(62.37% 0.189 143)
XYZxyz(14.1948, 26.4502, 6.4547)
Luminance0.2645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A229 #A228A1
analogous
#64A228 #28A229 #28A266
triadic
#28A229 #2928A2 #A22928
tetradic
#28A229 #2864A2 #A228A1 #A26628
square
#28A229 #2864A2 #A228A1 #A26628
split-complementary
#28A229 #6628A2 #A22864
monochromatic
#104010 #1C711D #28A229 #39CE3A #6ADA6B

Accessibility & contrast

On white

3.34
#28A229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#28A229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A229
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A229#FFFFFF#000000##000000
##28A2291.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69212
Deuteranopia (green-blind)
#988936
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a229;
/* rgb */ color: rgb(40, 162, 41);
/* oklch */ color: oklch(62.4% 0.189 143.0);
Tailwind
colors: {
  custom: {
    50: '#77bf6b',
    500: '#28a229',
    950: '#000000',
  },
}
SCSS
$custom: #28a229;
$custom-light: #77bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#28a229",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 120.492,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62365,
    "c": 0.18926,
    "h": 143
  },
  "luminance": 0.26452
}

Semantic roles & 50–950 ramp

primary
#28A229
secondary
#C165C0
accent
#44E2E4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A229

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

Preview Lab → · Contrast checker → · Palette generator →

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