#28A01B#28A01B

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

Color values

HEX#28A01B
RGBrgb(40, 160, 27)
HSLhsl(114, 71%, 37%)
HSVhsv(114, 83%, 63%)
CMYKcmyk(75%, 0%, 83.1%, 37.3%)
CIE-LABlab(57.72, -55.98, 54.21)
CIE-LCHlch(57.72, 77.92, 135.92°)
OKLaboklab(61.73% -0.1525 0.12)
OKLCHoklch(61.73% 0.194 141.8)
XYZxyz(13.6429, 25.6703, 5.2726)
Luminance0.2567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A01B #931BA0
analogous
#6BA01B #28A01B #1BA050
triadic
#28A01B #1B28A0 #A01B28
tetradic
#28A01B #1B6BA0 #931BA0 #A0501B
square
#28A01B #1B6BA0 #931BA0 #A0501B
split-complementary
#28A01B #501BA0 #A01B6B
monochromatic
#0E3709 #1B6C12 #28A01B #35D424 #61E253

Accessibility & contrast

On white

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

On black

6.13
#28A01B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A01B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A01B#FFFFFF#000000##000000
##28A01B1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a01b;
/* rgb */ color: rgb(40, 160, 27);
/* oklch */ color: oklch(61.7% 0.194 141.8);
Tailwind
colors: {
  custom: {
    50: '#77bd64',
    500: '#28a01b',
    950: '#000000',
  },
}
SCSS
$custom: #28a01b;
$custom-light: #77bd64;
$custom-dark: #000000;
JSON
{
  "hex": "#28a01b",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 114.135,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61726,
    "c": 0.19407,
    "h": 141.8
  },
  "luminance": 0.25672
}

Semantic roles & 50–950 ramp

primary
#28A01B
secondary
#BA52C5
accent
#3AEEDC
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #28A01B

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

Preview Lab → · Contrast checker → · Palette generator →

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