#28B231#28B231

#28B231 is a light, highly saturated green. Relative luminance 0.325; OKLCH L 66.8% C 0.202 H 143.6°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#28B231
RGBrgb(40, 178, 49)
HSLhsl(124, 63%, 43%)
HSVhsv(124, 78%, 70%)
CMYKcmyk(77.5%, 0%, 72.5%, 30.2%)
CIE-LABlab(63.76, -60.18, 52.84)
CIE-LCHlch(63.76, 80.09, 138.72°)
OKLaboklab(66.79% -0.163 0.1201)
OKLCHoklch(66.79% 0.202 143.6)
XYZxyz(17.3487, 32.5116, 8.2662)
Luminance0.3251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B231 #B228A9
analogous
#64B228 #28B231 #28B276
triadic
#28B231 #3128B2 #B23128
tetradic
#28B231 #2864B2 #B228A9 #B27628
square
#28B231 #2864B2 #B228A9 #B27628
split-complementary
#28B231 #7628B2 #B22864
monochromatic
#124E15 #1D8023 #28B231 #43D54C #75E07C

Accessibility & contrast

On white

2.80
#28B231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#28B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B231
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B231#FFFFFF#000000##000000
##28B2311.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#A7963E
Tritanopia (blue-blind)
#00AD99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #28b231;
/* rgb */ color: rgb(40, 178, 49);
/* oklch */ color: oklch(66.8% 0.202 143.6);
Tailwind
colors: {
  custom: {
    50: '#7aca71',
    500: '#28b231',
    950: '#000000',
  },
}
SCSS
$custom: #28b231;
$custom-light: #7aca71;
$custom-dark: #000000;
JSON
{
  "hex": "#28b231",
  "rgb": {
    "r": 40,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 123.913,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66787,
    "c": 0.20243,
    "h": 143.6
  },
  "luminance": 0.32514
}

Semantic roles & 50–950 ramp

primary
#28B231
secondary
#C76FC1
accent
#41DCE6
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28B231

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

Preview Lab → · Contrast checker → · Palette generator →

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