#28935C#28935C

#28935C is a mid, vivid green. Relative luminance 0.221; OKLCH L 59.0% C 0.128 H 156.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#28935C
RGBrgb(40, 147, 92)
HSLhsl(149, 57%, 37%)
HSVhsv(149, 73%, 58%)
CMYKcmyk(72.8%, 0%, 37.4%, 42.4%)
CIE-LABlab(54.12, -43.06, 20.71)
CIE-LCHlch(54.12, 47.78, 154.32°)
OKLaboklab(58.97% -0.1165 0.0519)
OKLCHoklch(58.97% 0.128 156)
XYZxyz(13.2393, 22.0898, 13.6891)
Luminance0.2209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28935C #93285F
analogous
#2A9328 #28935C #289392
triadic
#28935C #5C2893 #935C28
tetradic
#28935C #282A93 #93285F #939228
square
#28935C #282A93 #93285F #939228
split-complementary
#28935C #922893 #93282A
monochromatic
#0E3320 #1B633E #28935C #35C37A #61D499

Accessibility & contrast

On white

3.88
#28935C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#28935C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28935C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28935C#FFFFFF#000000##000000
##28935C1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928758
Deuteranopia (green-blind)
#857E60
Tritanopia (blue-blind)
#009285
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #28935c;
/* rgb */ color: rgb(40, 147, 92);
/* oklch */ color: oklch(59.0% 0.128 156.0);
Tailwind
colors: {
  custom: {
    50: '#71b48a',
    500: '#28935c',
    950: '#000000',
  },
}
SCSS
$custom: #28935c;
$custom-light: #71b48a;
$custom-dark: #000000;
JSON
{
  "hex": "#28935c",
  "rgb": {
    "r": 40,
    "g": 147,
    "b": 92
  },
  "hsl": {
    "h": 149.159,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58972,
    "c": 0.12751,
    "h": 156
  },
  "luminance": 0.22091
}

Semantic roles & 50–950 ramp

primary
#28935C
secondary
#BA5D8D
accent
#4796E0
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #28935C

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

Preview Lab → · Contrast checker → · Palette generator →

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