#28802A#28802A

#28802A is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.148 H 143.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#28802A
RGBrgb(40, 128, 42)
HSLhsl(121, 52%, 33%)
HSVhsv(121, 69%, 50%)
CMYKcmyk(68.8%, 0%, 67.2%, 49.8%)
CIE-LABlab(47.05, -43.76, 37.98)
CIE-LCHlch(47.05, 57.95, 139.05°)
OKLaboklab(52.9% -0.1187 0.088)
OKLCHoklch(52.9% 0.148 143.4)
XYZxyz(9.0116, 16.0557, 4.8142)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28802A #80287E
analogous
#528028 #28802A #288056
triadic
#28802A #2A2880 #802A28
tetradic
#28802A #285280 #80287E #805628
square
#28802A #285280 #80287E #805628
split-complementary
#28802A #562880 #802852
monochromatic
#0B230B #19511B #28802A #37AF39 #58CB5A

Accessibility & contrast

On white

4.99
#28802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#28802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28802A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28802A#FFFFFF#000000##FFFFFF
##28802A1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#127C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28802a;
/* rgb */ color: rgb(40, 128, 42);
/* oklch */ color: oklch(52.9% 0.148 143.4);
Tailwind
colors: {
  custom: {
    50: '#6fa668',
    500: '#28802a',
    950: '#000000',
  },
}
SCSS
$custom: #28802a;
$custom-light: #6fa668;
$custom-dark: #000000;
JSON
{
  "hex": "#28802a",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 121.364,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.14781,
    "h": 143.4
  },
  "luminance": 0.16057
}

Semantic roles & 50–950 ramp

primary
#28802A
secondary
#B054AE
accent
#4CD9DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #28802A

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

Preview Lab → · Contrast checker → · Palette generator →

#28802A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva