#28822D#28822D

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

Color values

HEX#28822D
RGBrgb(40, 130, 45)
HSLhsl(123, 53%, 33%)
HSVhsv(123, 69%, 51%)
CMYKcmyk(69.2%, 0%, 65.4%, 49%)
CIE-LABlab(47.76, -44.16, 37.39)
CIE-LCHlch(47.76, 57.86, 139.75°)
OKLaboklab(53.5% -0.1197 0.0871)
OKLCHoklch(53.5% 0.148 144)
XYZxyz(9.3308, 16.6049, 5.1954)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28822D #82287D
analogous
#508228 #28822D #28825A
triadic
#28822D #2D2882 #822D28
tetradic
#28822D #285082 #82287D #825A28
square
#28822D #285082 #82287D #825A28
split-complementary
#28822D #5A2882 #822850
monochromatic
#0B240D #1A531D #28822D #36B13D #59CC5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28822D#FFFFFF#000000##FFFFFF
##28822D1.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)
#857623
Deuteranopia (green-blind)
#7A6E34
Tritanopia (blue-blind)
#0F7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #28822d;
/* rgb */ color: rgb(40, 130, 45);
/* oklch */ color: oklch(53.5% 0.148 144.0);
Tailwind
colors: {
  custom: {
    50: '#6fa76a',
    500: '#28822d',
    950: '#000000',
  },
}
SCSS
$custom: #28822d;
$custom-light: #6fa76a;
$custom-dark: #000000;
JSON
{
  "hex": "#28822d",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 123.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.14801,
    "h": 144
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#28822D
secondary
#B155AC
accent
#4BD4DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #28822D

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

Preview Lab → · Contrast checker → · Palette generator →

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