#28951E#28951E

#28951E is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.7% C 0.181 H 141.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#28951E
RGBrgb(40, 149, 30)
HSLhsl(115, 66%, 35%)
HSVhsv(115, 80%, 58%)
CMYKcmyk(73.2%, 0%, 79.9%, 41.6%)
CIE-LABlab(54.07, -52.19, 49.88)
CIE-LCHlch(54.07, 72.19, 136.30°)
OKLaboklab(58.69% -0.1422 0.1114)
OKLCHoklch(58.69% 0.181 141.9)
XYZxyz(11.8562, 22.0384, 4.8570)
Luminance0.2204 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28951E #8B1E95
analogous
#63951E #28951E #1E9550
triadic
#28951E #1E2895 #951E28
tetradic
#28951E #1E6395 #8B1E95 #95501E
square
#28951E #1E6395 #8B1E95 #95501E
split-complementary
#28951E #501E95 #951E63
monochromatic
#0D2F09 #1A6214 #28951E #36C828 #5DDC51

Accessibility & contrast

On white

3.88
#28951E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#28951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28951E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28951E#FFFFFF#000000##000000
##28951E1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#04907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #28951e;
/* rgb */ color: rgb(40, 149, 30);
/* oklch */ color: oklch(58.7% 0.181 141.9);
Tailwind
colors: {
  custom: {
    50: '#74b564',
    500: '#28951e',
    950: '#000000',
  },
}
SCSS
$custom: #28951e;
$custom-light: #74b564;
$custom-dark: #000000;
JSON
{
  "hex": "#28951e",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 114.958,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58694,
    "c": 0.18059,
    "h": 141.9
  },
  "luminance": 0.2204
}

Semantic roles & 50–950 ramp

primary
#28951E
secondary
#B650BF
accent
#3EE9DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #28951E

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

Preview Lab → · Contrast checker → · Palette generator →

#28951E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva