#28904B#28904B

#28904B is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.140 H 150.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#28904B
RGBrgb(40, 144, 75)
HSLhsl(140, 57%, 36%)
HSVhsv(140, 72%, 56%)
CMYKcmyk(72.2%, 0%, 47.9%, 43.5%)
CIE-LABlab(52.84, -45.10, 28.31)
CIE-LCHlch(52.84, 53.24, 147.88°)
OKLaboklab(57.83% -0.1214 0.0692)
OKLCHoklch(57.83% 0.14 150.3)
XYZxyz(12.1173, 20.9043, 10.0516)
Luminance0.2091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28904B #90286D
analogous
#399028 #28904B #28907F
triadic
#28904B #4B2890 #904B28
tetradic
#28904B #283990 #90286D #907F28
square
#28904B #283990 #90286D #907F28
split-complementary
#28904B #7F2890 #902839
monochromatic
#0D3019 #1B6032 #28904B #35C064 #60D386

Accessibility & contrast

On white

4.05
#28904B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#28904B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28904B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28904B#FFFFFF#000000##000000
##28904B1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918346
Deuteranopia (green-blind)
#847B50
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #28904b;
/* rgb */ color: rgb(40, 144, 75);
/* oklch */ color: oklch(57.8% 0.140 150.3);
Tailwind
colors: {
  custom: {
    50: '#71b17e',
    500: '#28904b',
    950: '#000000',
  },
}
SCSS
$custom: #28904b;
$custom-light: #71b17e;
$custom-dark: #000000;
JSON
{
  "hex": "#28904b",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 75
  },
  "hsl": {
    "h": 140.192,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.13977,
    "h": 150.3
  },
  "luminance": 0.20906
}

Semantic roles & 50–950 ramp

primary
#28904B
secondary
#B85C99
accent
#48ADE0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #28904B

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

Preview Lab → · Contrast checker → · Palette generator →

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