#28975B#28975B

#28975B is a mid, vivid green. Relative luminance 0.233; OKLCH L 60.0% C 0.134 H 154.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#28975B
RGBrgb(40, 151, 91)
HSLhsl(148, 58%, 37%)
HSVhsv(148, 74%, 59%)
CMYKcmyk(73.5%, 0%, 39.7%, 40.8%)
CIE-LABlab(55.42, -44.86, 22.99)
CIE-LCHlch(55.42, 50.41, 152.87°)
OKLaboklab(60.04% -0.1211 0.0573)
OKLCHoklch(60.04% 0.134 154.7)
XYZxyz(13.8287, 23.3381, 13.6714)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28975B #972864
analogous
#2C9728 #28975B #289793
triadic
#28975B #5B2897 #975B28
tetradic
#28975B #282C97 #972864 #979328
square
#28975B #282C97 #972864 #979328
split-complementary
#28975B #932897 #97282C
monochromatic
#0E3621 #1B673E #28975B #35C778 #64D698

Accessibility & contrast

On white

3.71
#28975B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#28975B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28975B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28975B#FFFFFF#000000##000000
##28975B1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978A57
Deuteranopia (green-blind)
#89815F
Tritanopia (blue-blind)
#009588
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #28975b;
/* rgb */ color: rgb(40, 151, 91);
/* oklch */ color: oklch(60.0% 0.134 154.7);
Tailwind
colors: {
  custom: {
    50: '#72b68a',
    500: '#28975b',
    950: '#000000',
  },
}
SCSS
$custom: #28975b;
$custom-light: #72b68a;
$custom-dark: #000000;
JSON
{
  "hex": "#28975b",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 91
  },
  "hsl": {
    "h": 147.568,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60035,
    "c": 0.13397,
    "h": 154.7
  },
  "luminance": 0.2334
}

Semantic roles & 50–950 ramp

primary
#28975B
secondary
#BC5F91
accent
#469AE1
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #28975B

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

Preview Lab → · Contrast checker → · Palette generator →

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