#28843A#28843A

#28843A is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.139 H 146.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#28843A
RGBrgb(40, 132, 58)
HSLhsl(132, 53%, 34%)
HSVhsv(132, 70%, 52%)
CMYKcmyk(69.7%, 0%, 56.1%, 48.2%)
CIE-LABlab(48.58, -43.21, 31.95)
CIE-LCHlch(48.58, 53.74, 143.52°)
OKLaboklab(54.23% -0.1166 0.0765)
OKLCHoklch(54.23% 0.139 146.7)
XYZxyz(9.8894, 17.2581, 6.8121)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28843A #842872
analogous
#448428 #28843A #288468
triadic
#28843A #3A2884 #843A28
tetradic
#28843A #284484 #842872 #846828
square
#28843A #284484 #842872 #846828
split-complementary
#28843A #682884 #842844
monochromatic
#0C2611 #1A5525 #28843A #36B34F #5ACD70

Accessibility & contrast

On white

4.72
#28843A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#28843A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28843A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28843A#FFFFFF#000000##FFFFFF
##28843A1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867833
Deuteranopia (green-blind)
#7B7040
Tritanopia (blue-blind)
#058173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #28843a;
/* rgb */ color: rgb(40, 132, 58);
/* oklch */ color: oklch(54.2% 0.139 146.7);
Tailwind
colors: {
  custom: {
    50: '#6fa972',
    500: '#28843a',
    950: '#000000',
  },
}
SCSS
$custom: #28843a;
$custom-light: #6fa972;
$custom-dark: #000000;
JSON
{
  "hex": "#28843a",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 58
  },
  "hsl": {
    "h": 131.739,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54228,
    "c": 0.13943,
    "h": 146.7
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#28843A
secondary
#B256A0
accent
#4BC0DD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #28843A

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

Preview Lab → · Contrast checker → · Palette generator →

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