#28802E#28802E

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

Color values

HEX#28802E
RGBrgb(40, 128, 46)
HSLhsl(124, 52%, 33%)
HSVhsv(124, 69%, 50%)
CMYKcmyk(68.8%, 0%, 64.1%, 49.8%)
CIE-LABlab(47.09, -43.30, 36.16)
CIE-LCHlch(47.09, 56.41, 140.13°)
OKLaboklab(52.95% -0.1173 0.0846)
OKLCHoklch(52.95% 0.145 144.2)
XYZxyz(9.0868, 16.0858, 5.2102)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28802E #80287A
analogous
#4E8028 #28802E #28805A
triadic
#28802E #2E2880 #802E28
tetradic
#28802E #284E80 #80287A #805A28
square
#28802E #284E80 #80287A #805A28
split-complementary
#28802E #5A2880 #80284E
monochromatic
#0B230C #19511D #28802E #37AF3F #58CB60

Accessibility & contrast

On white

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

On black

4.22
#28802E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##28802E#FFFFFF#000000##FFFFFF
##28802E1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827425
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#107C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28802e;
/* rgb */ color: rgb(40, 128, 46);
/* oklch */ color: oklch(52.9% 0.145 144.2);
Tailwind
colors: {
  custom: {
    50: '#6ea66a',
    500: '#28802e',
    950: '#000000',
  },
}
SCSS
$custom: #28802e;
$custom-light: #6ea66a;
$custom-dark: #000000;
JSON
{
  "hex": "#28802e",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 124.091,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.1446,
    "h": 144.2
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#28802E
secondary
#B054AA
accent
#4CD2DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #28802E

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

Preview Lab → · Contrast checker → · Palette generator →

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