#28874F#28874F

#28874F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.123 H 153.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#28874F
RGBrgb(40, 135, 79)
HSLhsl(145, 54%, 34%)
HSVhsv(145, 70%, 53%)
CMYKcmyk(70.4%, 0%, 41.5%, 47.1%)
CIE-LABlab(49.91, -40.80, 22.33)
CIE-LCHlch(49.91, 46.51, 151.31°)
OKLaboklab(55.43% -0.1101 0.0555)
OKLCHoklch(55.43% 0.123 153.2)
XYZxyz(10.9494, 18.3424, 10.3590)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28874F #872860
analogous
#308728 #28874F #28877F
triadic
#28874F #4F2887 #874F28
tetradic
#28874F #283087 #872860 #877F28
square
#28874F #283087 #872860 #877F28
split-complementary
#28874F #7F2887 #872830
monochromatic
#0C2918 #1A5833 #28874F #36B66B #5BCE8A

Accessibility & contrast

On white

4.50
#28874F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#28874F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28874F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28874F#FFFFFF#000000##000000
##28874F1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4B
Deuteranopia (green-blind)
#7B7353
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28874f;
/* rgb */ color: rgb(40, 135, 79);
/* oklch */ color: oklch(55.4% 0.123 153.2);
Tailwind
colors: {
  custom: {
    50: '#6fab81',
    500: '#28874f',
    950: '#000000',
  },
}
SCSS
$custom: #28874f;
$custom-light: #6fab81;
$custom-dark: #000000;
JSON
{
  "hex": "#28874f",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 144.632,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55425,
    "c": 0.12333,
    "h": 153.2
  },
  "luminance": 0.18344
}

Semantic roles & 50–950 ramp

primary
#28874F
secondary
#B4578E
accent
#4AA1DE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #28874F

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

Preview Lab → · Contrast checker → · Palette generator →

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