#28874E#28874E

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

Color values

HEX#28874E
RGBrgb(40, 135, 78)
HSLhsl(144, 54%, 34%)
HSVhsv(144, 70%, 53%)
CMYKcmyk(70.4%, 0%, 42.2%, 47.1%)
CIE-LABlab(49.89, -40.99, 22.87)
CIE-LCHlch(49.89, 46.94, 150.85°)
OKLaboklab(55.41% -0.1106 0.0568)
OKLCHoklch(55.41% 0.124 152.8)
XYZxyz(10.9133, 18.3279, 10.1687)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28874E #872861
analogous
#328728 #28874E #28877E
triadic
#28874E #4E2887 #874E28
tetradic
#28874E #283287 #872861 #877E28
square
#28874E #283287 #872861 #877E28
split-complementary
#28874E #7E2887 #872832
monochromatic
#0C2917 #1A5833 #28874E #36B669 #5BCE89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28874E#FFFFFF#000000##000000
##28874E1.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)
#877C4A
Deuteranopia (green-blind)
#7B7352
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28874e;
/* rgb */ color: rgb(40, 135, 78);
/* oklch */ color: oklch(55.4% 0.124 152.8);
Tailwind
colors: {
  custom: {
    50: '#6fab80',
    500: '#28874e',
    950: '#000000',
  },
}
SCSS
$custom: #28874e;
$custom-light: #6fab80;
$custom-dark: #000000;
JSON
{
  "hex": "#28874e",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 78
  },
  "hsl": {
    "h": 144,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.12432,
    "h": 152.8
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#28874E
secondary
#B4578F
accent
#4AA3DE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #28874E

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

Preview Lab → · Contrast checker → · Palette generator →

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