#28974C#28974C

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

Color values

HEX#28974C
RGBrgb(40, 151, 76)
HSLhsl(139, 58%, 37%)
HSVhsv(139, 74%, 59%)
CMYKcmyk(73.5%, 0%, 49.7%, 40.8%)
CIE-LABlab(55.18, -47.59, 30.73)
CIE-LCHlch(55.18, 56.64, 147.15°)
OKLaboklab(59.76% -0.128 0.0748)
OKLCHoklch(59.76% 0.148 149.7)
XYZxyz(13.2451, 23.1046, 10.5977)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28974C #972873
analogous
#3C9728 #28974C #289783
triadic
#28974C #4C2897 #974C28
tetradic
#28974C #283C97 #972873 #978328
square
#28974C #283C97 #972873 #978328
split-complementary
#28974C #832897 #97283C
monochromatic
#0E361B #1B6734 #28974C #35C764 #64D689

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28974C#FFFFFF#000000##000000
##28974C1.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)
#988A46
Deuteranopia (green-blind)
#8B8051
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #28974c;
/* rgb */ color: rgb(40, 151, 76);
/* oklch */ color: oklch(59.8% 0.148 149.7);
Tailwind
colors: {
  custom: {
    50: '#72b77f',
    500: '#28974c',
    950: '#000000',
  },
}
SCSS
$custom: #28974c;
$custom-light: #72b77f;
$custom-dark: #000000;
JSON
{
  "hex": "#28974c",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 76
  },
  "hsl": {
    "h": 139.459,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59759,
    "c": 0.14827,
    "h": 149.7
  },
  "luminance": 0.23106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28974C

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

Preview Lab → · Contrast checker → · Palette generator →

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