#28802D#28802D

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

Color values

HEX#28802D
RGBrgb(40, 128, 45)
HSLhsl(123, 52%, 33%)
HSVhsv(123, 69%, 50%)
CMYKcmyk(68.8%, 0%, 64.8%, 49.8%)
CIE-LABlab(47.08, -43.42, 36.62)
CIE-LCHlch(47.08, 56.80, 139.85°)
OKLaboklab(52.93% -0.1176 0.0855)
OKLCHoklch(52.93% 0.145 144)
XYZxyz(9.0673, 16.0780, 5.1076)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28802D #80287B
analogous
#4F8028 #28802D #288059
triadic
#28802D #2D2880 #802D28
tetradic
#28802D #284F80 #80287B #805928
square
#28802D #284F80 #80287B #805928
split-complementary
#28802D #592880 #80284F
monochromatic
#0B230C #19511D #28802D #37AF3D #58CB5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28802D#FFFFFF#000000##FFFFFF
##28802D1.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)
#827423
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#107C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28802d;
/* rgb */ color: rgb(40, 128, 45);
/* oklch */ color: oklch(52.9% 0.145 144.0);
Tailwind
colors: {
  custom: {
    50: '#6ea669',
    500: '#28802d',
    950: '#000000',
  },
}
SCSS
$custom: #28802d;
$custom-light: #6ea669;
$custom-dark: #000000;
JSON
{
  "hex": "#28802d",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 123.409,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52934,
    "c": 0.14542,
    "h": 144
  },
  "luminance": 0.16079
}

Semantic roles & 50–950 ramp

primary
#28802D
secondary
#B054AB
accent
#4CD4DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #28802D

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

Preview Lab → · Contrast checker → · Palette generator →

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