#28974F#28974F

#28974F is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.8% C 0.145 H 150.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#28974F
RGBrgb(40, 151, 79)
HSLhsl(141, 58%, 37%)
HSVhsv(141, 74%, 59%)
CMYKcmyk(73.5%, 0%, 47.7%, 40.8%)
CIE-LABlab(55.22, -47.08, 29.20)
CIE-LCHlch(55.22, 55.40, 148.19°)
OKLaboklab(59.81% -0.1267 0.0715)
OKLCHoklch(59.81% 0.145 150.6)
XYZxyz(13.3519, 23.1473, 11.1598)
Luminance0.2315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28974F #972870
analogous
#399728 #28974F #289786
triadic
#28974F #4F2897 #974F28
tetradic
#28974F #283997 #972870 #978628
square
#28974F #283997 #972870 #978628
split-complementary
#28974F #862897 #972839
monochromatic
#0E361C #1B6736 #28974F #35C768 #64D68C

Accessibility & contrast

On white

3.73
#28974F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#28974F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28974F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28974F#FFFFFF#000000##000000
##28974F1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A49
Deuteranopia (green-blind)
#8B8154
Tritanopia (blue-blind)
#009486
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #28974f;
/* rgb */ color: rgb(40, 151, 79);
/* oklch */ color: oklch(59.8% 0.145 150.6);
Tailwind
colors: {
  custom: {
    50: '#72b781',
    500: '#28974f',
    950: '#000000',
  },
}
SCSS
$custom: #28974f;
$custom-light: #72b781;
$custom-dark: #000000;
JSON
{
  "hex": "#28974f",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 79
  },
  "hsl": {
    "h": 141.081,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5981,
    "c": 0.14544,
    "h": 150.6
  },
  "luminance": 0.23149
}

Semantic roles & 50–950 ramp

primary
#28974F
secondary
#BC5F9B
accent
#46ABE1
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #28974F

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

Preview Lab → · Contrast checker → · Palette generator →

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