#28894B#28894B

#28894B is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.130 H 151.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#28894B
RGBrgb(40, 137, 75)
HSLhsl(142, 55%, 35%)
HSVhsv(142, 71%, 54%)
CMYKcmyk(70.8%, 0%, 45.3%, 46.3%)
CIE-LABlab(50.51, -42.36, 25.32)
CIE-LCHlch(50.51, 49.35, 149.13°)
OKLaboklab(55.9% -0.1141 0.0624)
OKLCHoklch(55.9% 0.13 151.3)
XYZxyz(11.0898, 18.8492, 9.7091)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28894B #892866
analogous
#368928 #28894B #28897B
triadic
#28894B #4B2889 #894B28
tetradic
#28894B #283689 #892866 #897B28
square
#28894B #283689 #892866 #897B28
split-complementary
#28894B #7B2889 #892836
monochromatic
#0C2A17 #1A5A31 #28894B #36B865 #5CCF86

Accessibility & contrast

On white

4.40
#28894B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#28894B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28894B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28894B#FFFFFF#000000##000000
##28894B1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D46
Deuteranopia (green-blind)
#7E754F
Tritanopia (blue-blind)
#00877A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #28894b;
/* rgb */ color: rgb(40, 137, 75);
/* oklch */ color: oklch(55.9% 0.130 151.3);
Tailwind
colors: {
  custom: {
    50: '#6fac7e',
    500: '#28894b',
    950: '#000000',
  },
}
SCSS
$custom: #28894b;
$custom-light: #6fac7e;
$custom-dark: #000000;
JSON
{
  "hex": "#28894b",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 75
  },
  "hsl": {
    "h": 141.649,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55899,
    "c": 0.13008,
    "h": 151.3
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

primary
#28894B
secondary
#B55893
accent
#4AA9DE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #28894B

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

Preview Lab → · Contrast checker → · Palette generator →

#28894B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva