#28873F#28873F

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

Color values

HEX#28873F
RGBrgb(40, 135, 63)
HSLhsl(135, 54%, 34%)
HSVhsv(135, 70%, 53%)
CMYKcmyk(70.4%, 0%, 53.3%, 47.1%)
CIE-LABlab(49.66, -43.60, 30.67)
CIE-LCHlch(49.66, 53.31, 144.88°)
OKLaboklab(55.14% -0.1175 0.074)
OKLCHoklch(55.14% 0.139 147.8)
XYZxyz(10.4355, 18.1368, 7.6525)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28873F #872870
analogous
#418728 #28873F #28876F
triadic
#28873F #3F2887 #873F28
tetradic
#28873F #284187 #872870 #876F28
square
#28873F #284187 #872870 #876F28
split-complementary
#28873F #6F2887 #872841
monochromatic
#0C2913 #1A5829 #28873F #36B655 #5BCE77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28873F#FFFFFF#000000##000000
##28873F1.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)
#887B39
Deuteranopia (green-blind)
#7D7344
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28873f;
/* rgb */ color: rgb(40, 135, 63);
/* oklch */ color: oklch(55.1% 0.139 147.8);
Tailwind
colors: {
  custom: {
    50: '#6fab76',
    500: '#28873f',
    950: '#000000',
  },
}
SCSS
$custom: #28873f;
$custom-light: #6fab76;
$custom-dark: #000000;
JSON
{
  "hex": "#28873f",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 134.526,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5514,
    "c": 0.13886,
    "h": 147.8
  },
  "luminance": 0.18138
}

Semantic roles & 50–950 ramp

primary
#28873F
secondary
#B4579D
accent
#4ABADE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #28873F

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

Preview Lab → · Contrast checker → · Palette generator →

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