#28975D#28975D

#28975D is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.1% C 0.132 H 155.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#28975D
RGBrgb(40, 151, 93)
HSLhsl(149, 58%, 37%)
HSVhsv(149, 74%, 59%)
CMYKcmyk(73.5%, 0%, 38.4%, 40.8%)
CIE-LABlab(55.45, -44.46, 21.94)
CIE-LCHlch(55.45, 49.58, 153.74°)
OKLaboklab(60.08% -0.1201 0.0549)
OKLCHoklch(60.08% 0.132 155.4)
XYZxyz(13.9162, 23.3730, 14.1318)
Luminance0.2338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28975D #972862
analogous
#2A9728 #28975D #289795
triadic
#28975D #5D2897 #975D28
tetradic
#28975D #282A97 #972862 #979528
square
#28975D #282A97 #972862 #979528
split-complementary
#28975D #952897 #97282A
monochromatic
#0E3621 #1B673F #28975D #35C77B #64D69A

Accessibility & contrast

On white

3.70
#28975D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#28975D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28975D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28975D#FFFFFF#000000##000000
##28975D1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968B59
Deuteranopia (green-blind)
#898161
Tritanopia (blue-blind)
#009588
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #28975d;
/* rgb */ color: rgb(40, 151, 93);
/* oklch */ color: oklch(60.1% 0.132 155.4);
Tailwind
colors: {
  custom: {
    50: '#72b68b',
    500: '#28975d',
    950: '#000000',
  },
}
SCSS
$custom: #28975d;
$custom-light: #72b68b;
$custom-dark: #000000;
JSON
{
  "hex": "#28975d",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 93
  },
  "hsl": {
    "h": 148.649,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60076,
    "c": 0.13206,
    "h": 155.4
  },
  "luminance": 0.23375
}

Semantic roles & 50–950 ramp

primary
#28975D
secondary
#BC5F8F
accent
#4697E1
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #28975D

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

Preview Lab → · Contrast checker → · Palette generator →

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