#28945B#28945B

#28945B is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.2% C 0.130 H 155.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#28945B
RGBrgb(40, 148, 91)
HSLhsl(148, 57%, 37%)
HSVhsv(148, 73%, 58%)
CMYKcmyk(73%, 0%, 38.5%, 42%)
CIE-LABlab(54.43, -43.67, 21.68)
CIE-LCHlch(54.43, 48.75, 153.60°)
OKLaboklab(59.22% -0.118 0.0542)
OKLCHoklch(59.22% 0.13 155.3)
XYZxyz(13.3521, 22.3847, 13.5125)
Luminance0.2239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28945B #942861
analogous
#2B9428 #28945B #289491
triadic
#28945B #5B2894 #945B28
tetradic
#28945B #282B94 #942861 #949128
square
#28945B #282B94 #942861 #949128
split-complementary
#28945B #912894 #94282B
monochromatic
#0E3420 #1B643D #28945B #35C479 #62D598

Accessibility & contrast

On white

3.83
#28945B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#28945B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28945B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28945B#FFFFFF#000000##000000
##28945B1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938857
Deuteranopia (green-blind)
#867E5F
Tritanopia (blue-blind)
#009286
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28945b;
/* rgb */ color: rgb(40, 148, 91);
/* oklch */ color: oklch(59.2% 0.130 155.3);
Tailwind
colors: {
  custom: {
    50: '#72b48a',
    500: '#28945b',
    950: '#000000',
  },
}
SCSS
$custom: #28945b;
$custom-light: #72b48a;
$custom-dark: #000000;
JSON
{
  "hex": "#28945b",
  "rgb": {
    "r": 40,
    "g": 148,
    "b": 91
  },
  "hsl": {
    "h": 148.333,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59222,
    "c": 0.12985,
    "h": 155.3
  },
  "luminance": 0.22386
}

Semantic roles & 50–950 ramp

primary
#28945B
secondary
#BA5E8E
accent
#4798E1
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #28945B

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

Preview Lab → · Contrast checker → · Palette generator →

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