#28873E#28873E

#28873E is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.140 H 147.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#28873E
RGBrgb(40, 135, 62)
HSLhsl(134, 54%, 34%)
HSVhsv(134, 70%, 53%)
CMYKcmyk(70.4%, 0%, 54.1%, 47.1%)
CIE-LABlab(49.65, -43.76, 31.18)
CIE-LCHlch(49.65, 53.73, 144.53°)
OKLaboklab(55.13% -0.118 0.075)
OKLCHoklch(55.13% 0.14 147.5)
XYZxyz(10.4078, 18.1257, 7.5066)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28873E #872871
analogous
#418728 #28873E #28876E
triadic
#28873E #3E2887 #873E28
tetradic
#28873E #284187 #872871 #876E28
square
#28873E #284187 #872871 #876E28
split-complementary
#28873E #6E2887 #872841
monochromatic
#0C2913 #1A5828 #28873E #36B654 #5BCE76

Accessibility & contrast

On white

4.54
#28873E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#28873E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28873E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28873E#FFFFFF#000000##000000
##28873E1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B38
Deuteranopia (green-blind)
#7D7343
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28873e;
/* rgb */ color: rgb(40, 135, 62);
/* oklch */ color: oklch(55.1% 0.140 147.5);
Tailwind
colors: {
  custom: {
    50: '#6fab75',
    500: '#28873e',
    950: '#000000',
  },
}
SCSS
$custom: #28873e;
$custom-light: #6fab75;
$custom-dark: #000000;
JSON
{
  "hex": "#28873e",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 62
  },
  "hsl": {
    "h": 133.895,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55125,
    "c": 0.13981,
    "h": 147.5
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#28873E
secondary
#B4579E
accent
#4ABBDE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #28873E

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

Preview Lab → · Contrast checker → · Palette generator →

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