#28802B#28802B

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

Color values

HEX#28802B
RGBrgb(40, 128, 43)
HSLhsl(122, 52%, 33%)
HSVhsv(122, 69%, 50%)
CMYKcmyk(68.8%, 0%, 66.4%, 49.8%)
CIE-LABlab(47.06, -43.65, 37.53)
CIE-LCHlch(47.06, 57.57, 139.31°)
OKLaboklab(52.91% -0.1184 0.0872)
OKLCHoklch(52.91% 0.147 143.6)
XYZxyz(9.0297, 16.0629, 4.9096)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28802B #80287D
analogous
#518028 #28802B #288057
triadic
#28802B #2B2880 #802B28
tetradic
#28802B #285180 #80287D #805728
square
#28802B #285180 #80287D #805728
split-complementary
#28802B #572880 #802851
monochromatic
#0B230C #19511B #28802B #37AF3B #58CB5C

Accessibility & contrast

On white

4.98
#28802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28802B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28802B#FFFFFF#000000##FFFFFF
##28802B1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#117C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28802b;
/* rgb */ color: rgb(40, 128, 43);
/* oklch */ color: oklch(52.9% 0.147 143.6);
Tailwind
colors: {
  custom: {
    50: '#6fa668',
    500: '#28802b',
    950: '#000000',
  },
}
SCSS
$custom: #28802b;
$custom-light: #6fa668;
$custom-dark: #000000;
JSON
{
  "hex": "#28802b",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 122.045,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.14703,
    "h": 143.6
  },
  "luminance": 0.16064
}

Semantic roles & 50–950 ramp

primary
#28802B
secondary
#B054AD
accent
#4CD7DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #28802B

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

Preview Lab → · Contrast checker → · Palette generator →

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