#28975F#28975F

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

Color values

HEX#28975F
RGBrgb(40, 151, 95)
HSLhsl(150, 58%, 37%)
HSVhsv(150, 74%, 59%)
CMYKcmyk(73.5%, 0%, 37.1%, 40.8%)
CIE-LABlab(55.49, -44.06, 20.88)
CIE-LCHlch(55.49, 48.75, 154.64°)
OKLaboklab(60.12% -0.1191 0.0524)
OKLCHoklch(60.12% 0.13 156.3)
XYZxyz(14.0059, 23.4089, 14.6045)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28975F #972860
analogous
#289728 #28975F #289797
triadic
#28975F #5F2897 #975F28
tetradic
#28975F #282897 #972860 #979728
square
#28975F #282897 #972860 #979728
split-complementary
#28975F #972897 #972828
monochromatic
#0E3622 #1B6741 #28975F #35C77D #64D69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28975F#FFFFFF#000000##000000
##28975F1.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)
#968B5B
Deuteranopia (green-blind)
#888163
Tritanopia (blue-blind)
#009689
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #28975f;
/* rgb */ color: rgb(40, 151, 95);
/* oklch */ color: oklch(60.1% 0.130 156.3);
Tailwind
colors: {
  custom: {
    50: '#72b68d',
    500: '#28975f',
    950: '#000000',
  },
}
SCSS
$custom: #28975f;
$custom-light: #72b68d;
$custom-dark: #000000;
JSON
{
  "hex": "#28975f",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 95
  },
  "hsl": {
    "h": 149.73,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60118,
    "c": 0.13016,
    "h": 156.3
  },
  "luminance": 0.23411
}

Semantic roles & 50–950 ramp

primary
#28975F
secondary
#BC5F8E
accent
#4695E1
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #28975F

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

Preview Lab → · Contrast checker → · Palette generator →

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