#28894C#28894C

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

Color values

HEX#28894C
RGBrgb(40, 137, 76)
HSLhsl(142, 55%, 35%)
HSVhsv(142, 71%, 54%)
CMYKcmyk(70.8%, 0%, 44.5%, 46.3%)
CIE-LABlab(50.53, -42.18, 24.80)
CIE-LCHlch(50.53, 48.92, 149.55°)
OKLaboklab(55.92% -0.1137 0.0612)
OKLCHoklch(55.92% 0.129 151.7)
XYZxyz(11.1243, 18.8630, 9.8907)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28894C #892865
analogous
#358928 #28894C #28897D
triadic
#28894C #4C2889 #894C28
tetradic
#28894C #283589 #892865 #897D28
square
#28894C #283589 #892865 #897D28
split-complementary
#28894C #7D2889 #892835
monochromatic
#0C2A17 #1A5A32 #28894C #36B866 #5CCF87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28894C#FFFFFF#000000##000000
##28894C1.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)
#897D48
Deuteranopia (green-blind)
#7D7550
Tritanopia (blue-blind)
#00877A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #28894c;
/* rgb */ color: rgb(40, 137, 76);
/* oklch */ color: oklch(55.9% 0.129 151.7);
Tailwind
colors: {
  custom: {
    50: '#6fac7f',
    500: '#28894c',
    950: '#000000',
  },
}
SCSS
$custom: #28894c;
$custom-light: #6fac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#28894c",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 76
  },
  "hsl": {
    "h": 142.268,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55917,
    "c": 0.1291,
    "h": 151.7
  },
  "luminance": 0.18864
}

Semantic roles & 50–950 ramp

primary
#28894C
secondary
#B55892
accent
#4AA7DE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #28894C

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

Preview Lab → · Contrast checker → · Palette generator →

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