#28B31F#28B31F

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

Color values

HEX#28B31F
RGBrgb(40, 179, 31)
HSLhsl(116, 70%, 41%)
HSVhsv(116, 83%, 70%)
CMYKcmyk(77.7%, 0%, 82.7%, 29.8%)
CIE-LABlab(63.99, -61.74, 58.89)
CIE-LCHlch(63.99, 85.32, 136.35°)
OKLaboklab(66.94% -0.1679 0.1303)
OKLCHoklch(66.94% 0.213 142.2)
XYZxyz(17.2415, 32.7882, 6.7161)
Luminance0.3279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B31F #AA1FB3
analogous
#72B31F #28B31F #1FB360
triadic
#28B31F #1F28B3 #B31F28
tetradic
#28B31F #1F72B3 #AA1FB3 #B3601F
square
#28B31F #1F72B3 #AA1FB3 #B3601F
split-complementary
#28B31F #601FB3 #B31F72
monochromatic
#114B0D #1C7F16 #28B31F #3EDC33 #6FE568

Accessibility & contrast

On white

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

On black

7.56
#28B31F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B31F
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B31F#FFFFFF#000000##000000
##28B31F1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28b31f;
/* rgb */ color: rgb(40, 179, 31);
/* oklch */ color: oklch(66.9% 0.213 142.2);
Tailwind
colors: {
  custom: {
    50: '#7bcb69',
    500: '#28b31f',
    950: '#000000',
  },
}
SCSS
$custom: #28b31f;
$custom-light: #7bcb69;
$custom-dark: #000000;
JSON
{
  "hex": "#28b31f",
  "rgb": {
    "r": 40,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 116.351,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66943,
    "c": 0.21259,
    "h": 142.2
  },
  "luminance": 0.3279
}

Semantic roles & 50–950 ramp

primary
#28B31F
secondary
#C464CA
accent
#3BEDE2
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28B31F

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

Preview Lab → · Contrast checker → · Palette generator →

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