#28B31B#28B31B

#28B31B is a light, highly saturated green. Relative luminance 0.328; OKLCH L 66.9% C 0.214 H 142.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#28B31B
RGBrgb(40, 179, 27)
HSLhsl(115, 74%, 40%)
HSVhsv(115, 85%, 70%)
CMYKcmyk(77.7%, 0%, 84.9%, 29.8%)
CIE-LABlab(63.97, -61.94, 59.90)
CIE-LCHlch(63.97, 86.17, 135.96°)
OKLaboklab(66.92% -0.1686 0.1319)
OKLCHoklch(66.92% 0.214 142)
XYZxyz(17.1920, 32.7684, 6.4556)
Luminance0.3277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B31B #A61BB3
analogous
#74B31B #28B31B #1BB35A
triadic
#28B31B #1B28B3 #B31B28
tetradic
#28B31B #1B74B3 #A61BB3 #B35A1B
square
#28B31B #1B74B3 #A61BB3 #B35A1B
split-complementary
#28B31B #5A1BB3 #B31B74
monochromatic
#10490B #1C7E13 #28B31B #3BDF2C #6DE761

Accessibility & contrast

On white

2.78
#28B31B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#28B31B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B31B
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B31B#FFFFFF#000000##000000
##28B31B1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A89730
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #28b31b;
/* rgb */ color: rgb(40, 179, 27);
/* oklch */ color: oklch(66.9% 0.214 142.0);
Tailwind
colors: {
  custom: {
    50: '#7bcb67',
    500: '#28b31b',
    950: '#000000',
  },
}
SCSS
$custom: #28b31b;
$custom-light: #7bcb67;
$custom-dark: #000000;
JSON
{
  "hex": "#28b31b",
  "rgb": {
    "r": 40,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 114.868,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66924,
    "c": 0.21411,
    "h": 142
  },
  "luminance": 0.3277
}

Semantic roles & 50–950 ramp

primary
#28B31B
secondary
#C25ECC
accent
#37F0E1
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28B31B

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

Preview Lab → · Contrast checker → · Palette generator →

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