#28A01F#28A01F

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

Color values

HEX#28A01F
RGBrgb(40, 160, 31)
HSLhsl(116, 68%, 37%)
HSVhsv(116, 81%, 63%)
CMYKcmyk(75%, 0%, 80.6%, 37.3%)
CIE-LABlab(57.74, -55.74, 53.06)
CIE-LCHlch(57.74, 76.96, 136.41°)
OKLaboklab(61.75% -0.1517 0.1182)
OKLCHoklch(61.75% 0.192 142.1)
XYZxyz(13.6924, 25.6901, 5.5331)
Luminance0.2569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A01F #971FA0
analogous
#68A01F #28A01F #1FA057
triadic
#28A01F #1F28A0 #A01F28
tetradic
#28A01F #1F68A0 #971FA0 #A0571F
square
#28A01F #1F68A0 #971FA0 #A0571F
split-complementary
#28A01F #571FA0 #A01F68
monochromatic
#0E390B #1B6D15 #28A01F #35D329 #64DF5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A01F#FFFFFF#000000##000000
##28A01F1.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)
#A49000
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a01f;
/* rgb */ color: rgb(40, 160, 31);
/* oklch */ color: oklch(61.7% 0.192 142.1);
Tailwind
colors: {
  custom: {
    50: '#77bd66',
    500: '#28a01f',
    950: '#000000',
  },
}
SCSS
$custom: #28a01f;
$custom-light: #77bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#28a01f",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 115.814,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61748,
    "c": 0.19231,
    "h": 142.1
  },
  "luminance": 0.25692
}

Semantic roles & 50–950 ramp

primary
#28A01F
secondary
#BC58C3
accent
#3DEADE
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #28A01F

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

Preview Lab → · Contrast checker → · Palette generator →

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