#28893F#28893F

#28893F is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.142 H 147.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#28893F
RGBrgb(40, 137, 63)
HSLhsl(134, 55%, 35%)
HSVhsv(134, 71%, 54%)
CMYKcmyk(70.8%, 0%, 54%, 46.3%)
CIE-LABlab(50.33, -44.37, 31.50)
CIE-LCHlch(50.33, 54.41, 144.63°)
OKLaboklab(55.7% -0.1196 0.0758)
OKLCHoklch(55.7% 0.142 147.6)
XYZxyz(10.7171, 18.7002, 7.7463)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28893F #892872
analogous
#428928 #28893F #288970
triadic
#28893F #3F2889 #893F28
tetradic
#28893F #284289 #892872 #897028
square
#28893F #284289 #892872 #897028
split-complementary
#28893F #702889 #892842
monochromatic
#0C2A13 #1A5A29 #28893F #36B855 #5CCF77

Accessibility & contrast

On white

4.43
#28893F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#28893F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28893F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28893F#FFFFFF#000000##000000
##28893F1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D38
Deuteranopia (green-blind)
#7F7544
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #28893f;
/* rgb */ color: rgb(40, 137, 63);
/* oklch */ color: oklch(55.7% 0.142 147.6);
Tailwind
colors: {
  custom: {
    50: '#70ac76',
    500: '#28893f',
    950: '#000000',
  },
}
SCSS
$custom: #28893f;
$custom-light: #70ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#28893f",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 63
  },
  "hsl": {
    "h": 134.227,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.14159,
    "h": 147.6
  },
  "luminance": 0.18701
}

Semantic roles & 50–950 ramp

primary
#28893F
secondary
#B5589F
accent
#4ABBDE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #28893F

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

Preview Lab → · Contrast checker → · Palette generator →

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