#28822C#28822C

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

Color values

HEX#28822C
RGBrgb(40, 130, 44)
HSLhsl(123, 53%, 33%)
HSVhsv(123, 69%, 51%)
CMYKcmyk(69.2%, 0%, 66.2%, 49%)
CIE-LABlab(47.75, -44.28, 37.84)
CIE-LCHlch(47.75, 58.25, 139.48°)
OKLaboklab(53.49% -0.12 0.088)
OKLCHoklch(53.49% 0.149 143.8)
XYZxyz(9.3118, 16.5973, 5.0952)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28822C #82287E
analogous
#518228 #28822C #288259
triadic
#28822C #2C2882 #822C28
tetradic
#28822C #285182 #82287E #825928
square
#28822C #285182 #82287E #825928
split-complementary
#28822C #592882 #822851
monochromatic
#0B240C #1A531C #28822C #36B13C #59CC5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28822C#FFFFFF#000000##FFFFFF
##28822C1.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)
#857622
Deuteranopia (green-blind)
#7A6E34
Tritanopia (blue-blind)
#107E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #28822c;
/* rgb */ color: rgb(40, 130, 44);
/* oklch */ color: oklch(53.5% 0.149 143.8);
Tailwind
colors: {
  custom: {
    50: '#6fa769',
    500: '#28822c',
    950: '#000000',
  },
}
SCSS
$custom: #28822c;
$custom-light: #6fa769;
$custom-dark: #000000;
JSON
{
  "hex": "#28822c",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 122.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.14881,
    "h": 143.8
  },
  "luminance": 0.16598
}

Semantic roles & 50–950 ramp

primary
#28822C
secondary
#B155AD
accent
#4BD6DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #28822C

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

Preview Lab → · Contrast checker → · Palette generator →

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