#28974B#28974B

#28974B is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.149 H 149.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#28974B
RGBrgb(40, 151, 75)
HSLhsl(139, 58%, 37%)
HSVhsv(139, 74%, 59%)
CMYKcmyk(73.5%, 0%, 50.3%, 40.8%)
CIE-LABlab(55.17, -47.75, 31.23)
CIE-LCHlch(55.17, 57.06, 146.81°)
OKLaboklab(59.74% -0.1285 0.0759)
OKLCHoklch(59.74% 0.149 149.4)
XYZxyz(13.2106, 23.0908, 10.4160)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28974B #972874
analogous
#3C9728 #28974B #289783
triadic
#28974B #4B2897 #974B28
tetradic
#28974B #283C97 #972874 #978328
square
#28974B #283C97 #972874 #978328
split-complementary
#28974B #832897 #97283C
monochromatic
#0E361B #1B6733 #28974B #35C763 #64D688

Accessibility & contrast

On white

3.74
#28974B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#28974B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28974B
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28974B#FFFFFF#000000##000000
##28974B1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A45
Deuteranopia (green-blind)
#8B8050
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #28974b;
/* rgb */ color: rgb(40, 151, 75);
/* oklch */ color: oklch(59.7% 0.149 149.4);
Tailwind
colors: {
  custom: {
    50: '#73b77f',
    500: '#28974b',
    950: '#000000',
  },
}
SCSS
$custom: #28974b;
$custom-light: #73b77f;
$custom-dark: #000000;
JSON
{
  "hex": "#28974b",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 75
  },
  "hsl": {
    "h": 138.919,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59743,
    "c": 0.14921,
    "h": 149.4
  },
  "luminance": 0.23092
}

Semantic roles & 50–950 ramp

primary
#28974B
secondary
#BC5F9E
accent
#46B1E1
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #28974B

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

Preview Lab → · Contrast checker → · Palette generator →

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