#28832D#28832D

#28832D is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.149 H 143.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#28832D
RGBrgb(40, 131, 45)
HSLhsl(123, 53%, 34%)
HSVhsv(123, 69%, 51%)
CMYKcmyk(69.5%, 0%, 65.6%, 48.6%)
CIE-LABlab(48.10, -44.54, 37.77)
CIE-LCHlch(48.10, 58.39, 139.70°)
OKLaboklab(53.78% -0.1207 0.0879)
OKLCHoklch(53.78% 0.149 143.9)
XYZxyz(9.4644, 16.8722, 5.2400)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28832D #83287E
analogous
#508328 #28832D #28835A
triadic
#28832D #2D2883 #832D28
tetradic
#28832D #285083 #83287E #835A28
square
#28832D #285083 #83287E #835A28
split-complementary
#28832D #5A2883 #832850
monochromatic
#0B250D #1A541D #28832D #36B23D #59CC5F

Accessibility & contrast

On white

4.80
#28832D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#28832D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28832D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28832D#FFFFFF#000000##FFFFFF
##28832D1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867723
Deuteranopia (green-blind)
#7B6F34
Tritanopia (blue-blind)
#0E7F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #28832d;
/* rgb */ color: rgb(40, 131, 45);
/* oklch */ color: oklch(53.8% 0.149 143.9);
Tailwind
colors: {
  custom: {
    50: '#6fa86a',
    500: '#28832d',
    950: '#000000',
  },
}
SCSS
$custom: #28832d;
$custom-light: #6fa86a;
$custom-dark: #000000;
JSON
{
  "hex": "#28832d",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 45
  },
  "hsl": {
    "h": 123.297,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5378,
    "c": 0.1493,
    "h": 143.9
  },
  "luminance": 0.16873
}

Semantic roles & 50–950 ramp

primary
#28832D
secondary
#B155AC
accent
#4BD5DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #28832D

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

Preview Lab → · Contrast checker → · Palette generator →

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