#28945C#28945C

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

Color values

HEX#28945C
RGBrgb(40, 148, 92)
HSLhsl(149, 57%, 37%)
HSVhsv(149, 73%, 58%)
CMYKcmyk(73%, 0%, 37.8%, 42%)
CIE-LABlab(54.45, -43.47, 21.15)
CIE-LCHlch(54.45, 48.34, 154.06°)
OKLaboklab(59.24% -0.1175 0.053)
OKLCHoklch(59.24% 0.129 155.7)
XYZxyz(13.3955, 22.4021, 13.7412)
Luminance0.2240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28945C #942860
analogous
#2A9428 #28945C #289492
triadic
#28945C #5C2894 #945C28
tetradic
#28945C #282A94 #942860 #949228
square
#28945C #282A94 #942860 #949228
split-complementary
#28945C #922894 #94282A
monochromatic
#0E3420 #1B643E #28945C #35C47A #62D599

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28945C#FFFFFF#000000##000000
##28945C1.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)
#938858
Deuteranopia (green-blind)
#867E60
Tritanopia (blue-blind)
#009386
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28945c;
/* rgb */ color: rgb(40, 148, 92);
/* oklch */ color: oklch(59.2% 0.129 155.7);
Tailwind
colors: {
  custom: {
    50: '#72b48a',
    500: '#28945c',
    950: '#000000',
  },
}
SCSS
$custom: #28945c;
$custom-light: #72b48a;
$custom-dark: #000000;
JSON
{
  "hex": "#28945c",
  "rgb": {
    "r": 40,
    "g": 148,
    "b": 92
  },
  "hsl": {
    "h": 148.889,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59243,
    "c": 0.12889,
    "h": 155.7
  },
  "luminance": 0.22404
}

Semantic roles & 50–950 ramp

primary
#28945C
secondary
#BA5E8E
accent
#4797E1
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #28945C

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

Preview Lab → · Contrast checker → · Palette generator →

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