#28811E#28811E

#28811E is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.157 H 141.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#28811E
RGBrgb(40, 129, 30)
HSLhsl(114, 62%, 31%)
HSVhsv(114, 77%, 51%)
CMYKcmyk(69%, 0%, 76.7%, 49.4%)
CIE-LABlab(47.29, -45.27, 43.25)
CIE-LCHlch(47.29, 62.60, 136.31°)
OKLaboklab(53.07% -0.1234 0.0975)
OKLCHoklch(53.07% 0.157 141.7)
XYZxyz(8.9592, 16.2444, 3.8914)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28811E #771E81
analogous
#59811E #28811E #1E8145
triadic
#28811E #1E2881 #811E28
tetradic
#28811E #1E5981 #771E81 #81451E
square
#28811E #1E5981 #771E81 #81451E
split-complementary
#28811E #451E81 #811E59
monochromatic
#091E07 #194F12 #28811E #37B32A #54D446

Accessibility & contrast

On white

4.94
#28811E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#28811E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28811E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28811E#FFFFFF#000000##FFFFFF
##28811E1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750A
Deuteranopia (green-blind)
#7A6D29
Tritanopia (blue-blind)
#157D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28811e;
/* rgb */ color: rgb(40, 129, 30);
/* oklch */ color: oklch(53.1% 0.157 141.7);
Tailwind
colors: {
  custom: {
    50: '#6fa661',
    500: '#28811e',
    950: '#000000',
  },
}
SCSS
$custom: #28811e;
$custom-light: #6fa661;
$custom-dark: #000000;
JSON
{
  "hex": "#28811e",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 113.939,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53074,
    "c": 0.15733,
    "h": 141.7
  },
  "luminance": 0.16245
}

Semantic roles & 50–950 ramp

primary
#28811E
secondary
#A947B4
accent
#42E5D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #28811E

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

Preview Lab → · Contrast checker → · Palette generator →

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