#28894F#28894F

#28894F is a mid, vivid green. Relative luminance 0.189; OKLCH L 56.0% C 0.126 H 152.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#28894F
RGBrgb(40, 137, 79)
HSLhsl(144, 55%, 35%)
HSVhsv(144, 71%, 54%)
CMYKcmyk(70.8%, 0%, 42.3%, 46.3%)
CIE-LABlab(50.58, -41.61, 23.21)
CIE-LCHlch(50.58, 47.65, 150.85°)
OKLaboklab(55.97% -0.1122 0.0576)
OKLCHoklch(55.97% 0.126 152.8)
XYZxyz(11.2310, 18.9057, 10.4529)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28894F #892862
analogous
#318928 #28894F #288980
triadic
#28894F #4F2889 #894F28
tetradic
#28894F #283189 #892862 #898028
square
#28894F #283189 #892862 #898028
split-complementary
#28894F #802889 #892831
monochromatic
#0C2A18 #1A5A34 #28894F #36B86A #5CCF8A

Accessibility & contrast

On white

4.39
#28894F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#28894F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28894F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28894F#FFFFFF#000000##000000
##28894F1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4B
Deuteranopia (green-blind)
#7D7553
Tritanopia (blue-blind)
#00877B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #28894f;
/* rgb */ color: rgb(40, 137, 79);
/* oklch */ color: oklch(56.0% 0.126 152.8);
Tailwind
colors: {
  custom: {
    50: '#6fac81',
    500: '#28894f',
    950: '#000000',
  },
}
SCSS
$custom: #28894f;
$custom-light: #6fac81;
$custom-dark: #000000;
JSON
{
  "hex": "#28894f",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 79
  },
  "hsl": {
    "h": 144.124,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55975,
    "c": 0.12616,
    "h": 152.8
  },
  "luminance": 0.18907
}

Semantic roles & 50–950 ramp

primary
#28894F
secondary
#B5588F
accent
#4AA2DE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #28894F

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

Preview Lab → · Contrast checker → · Palette generator →

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