#28822E#28822E

#28822E is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.147 H 144.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#28822E
RGBrgb(40, 130, 46)
HSLhsl(124, 53%, 33%)
HSVhsv(124, 69%, 51%)
CMYKcmyk(69.2%, 0%, 64.6%, 49%)
CIE-LABlab(47.77, -44.05, 36.93)
CIE-LCHlch(47.77, 57.48, 140.02°)
OKLaboklab(53.51% -0.1193 0.0862)
OKLCHoklch(53.51% 0.147 144.1)
XYZxyz(9.3503, 16.6127, 5.2980)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28822E #82287C
analogous
#4F8228 #28822E #28825B
triadic
#28822E #2E2882 #822E28
tetradic
#28822E #284F82 #82287C #825B28
square
#28822E #284F82 #82287C #825B28
split-complementary
#28822E #5B2882 #82284F
monochromatic
#0B240D #1A531D #28822E #36B13F #59CC60

Accessibility & contrast

On white

4.86
#28822E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#28822E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28822E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28822E#FFFFFF#000000##FFFFFF
##28822E1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847624
Deuteranopia (green-blind)
#7A6E35
Tritanopia (blue-blind)
#0F7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #28822e;
/* rgb */ color: rgb(40, 130, 46);
/* oklch */ color: oklch(53.5% 0.147 144.1);
Tailwind
colors: {
  custom: {
    50: '#6fa76a',
    500: '#28822e',
    950: '#000000',
  },
}
SCSS
$custom: #28822e;
$custom-light: #6fa76a;
$custom-dark: #000000;
JSON
{
  "hex": "#28822e",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 46
  },
  "hsl": {
    "h": 124,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.14721,
    "h": 144.1
  },
  "luminance": 0.16614
}

Semantic roles & 50–950 ramp

primary
#28822E
secondary
#B155AB
accent
#4BD3DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #28822E

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

Preview Lab → · Contrast checker → · Palette generator →

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