#28974D#28974D

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

Color values

HEX#28974D
RGBrgb(40, 151, 77)
HSLhsl(140, 58%, 37%)
HSVhsv(140, 74%, 59%)
CMYKcmyk(73.5%, 0%, 49%, 40.8%)
CIE-LABlab(55.19, -47.42, 30.22)
CIE-LCHlch(55.19, 56.23, 147.49°)
OKLaboklab(59.78% -0.1276 0.0737)
OKLCHoklch(59.78% 0.147 150)
XYZxyz(13.2802, 23.1186, 10.7822)
Luminance0.2312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28974D #972872
analogous
#3B9728 #28974D #289784
triadic
#28974D #4D2897 #974D28
tetradic
#28974D #283B97 #972872 #978428
square
#28974D #283B97 #972872 #978428
split-complementary
#28974D #842897 #97283B
monochromatic
#0E361C #1B6734 #28974D #35C766 #64D68A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28974D#FFFFFF#000000##000000
##28974D1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28974d;
/* rgb */ color: rgb(40, 151, 77);
/* oklch */ color: oklch(59.8% 0.147 150.0);
Tailwind
colors: {
  custom: {
    50: '#72b780',
    500: '#28974d',
    950: '#000000',
  },
}
SCSS
$custom: #28974d;
$custom-light: #72b780;
$custom-dark: #000000;
JSON
{
  "hex": "#28974d",
  "rgb": {
    "r": 40,
    "g": 151,
    "b": 77
  },
  "hsl": {
    "h": 140,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59776,
    "c": 0.14734,
    "h": 150
  },
  "luminance": 0.2312
}

Semantic roles & 50–950 ramp

primary
#28974D
secondary
#BC5F9D
accent
#46AEE1
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #28974D

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

Preview Lab → · Contrast checker → · Palette generator →

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