#28802F#28802F

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

Color values

HEX#28802F
RGBrgb(40, 128, 47)
HSLhsl(125, 52%, 33%)
HSVhsv(125, 69%, 50%)
CMYKcmyk(68.8%, 0%, 63.3%, 49.8%)
CIE-LABlab(47.10, -43.18, 35.69)
CIE-LCHlch(47.10, 56.02, 140.42°)
OKLaboklab(52.96% -0.1169 0.0837)
OKLCHoklch(52.96% 0.144 144.4)
XYZxyz(9.1068, 16.0937, 5.3152)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28802F #802879
analogous
#4D8028 #28802F #28805B
triadic
#28802F #2F2880 #802F28
tetradic
#28802F #284D80 #802879 #805B28
square
#28802F #284D80 #802879 #805B28
split-complementary
#28802F #5B2880 #80284D
monochromatic
#0B230D #19511E #28802F #37AF40 #58CB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28802F#FFFFFF#000000##FFFFFF
##28802F1.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)
#827426
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#107D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28802f;
/* rgb */ color: rgb(40, 128, 47);
/* oklch */ color: oklch(53.0% 0.144 144.4);
Tailwind
colors: {
  custom: {
    50: '#6ea66b',
    500: '#28802f',
    950: '#000000',
  },
}
SCSS
$custom: #28802f;
$custom-light: #6ea66b;
$custom-dark: #000000;
JSON
{
  "hex": "#28802f",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 124.773,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.14377,
    "h": 144.4
  },
  "luminance": 0.16095
}

Semantic roles & 50–950 ramp

primary
#28802F
secondary
#B054A8
accent
#4CD0DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #28802F

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

Preview Lab → · Contrast checker → · Palette generator →

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