#28942F#28942F

#28942F is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.6% C 0.169 H 143.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#28942F
RGBrgb(40, 148, 47)
HSLhsl(124, 57%, 37%)
HSVhsv(124, 73%, 58%)
CMYKcmyk(73%, 0%, 68.2%, 42%)
CIE-LABlab(53.85, -50.41, 43.19)
CIE-LCHlch(53.85, 66.38, 139.41°)
OKLaboklab(58.55% -0.1365 0.0996)
OKLCHoklch(58.55% 0.169 143.9)
XYZxyz(11.9773, 21.8348, 6.2721)
Luminance0.2184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28942F #94288D
analogous
#579428 #28942F #289465
triadic
#28942F #2F2894 #942F28
tetradic
#28942F #285794 #94288D #946528
square
#28942F #285794 #94288D #946528
split-complementary
#28942F #652894 #942857
monochromatic
#0E3410 #1B6420 #28942F #35C43E #62D569

Accessibility & contrast

On white

3.91
#28942F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#28942F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28942F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28942F#FFFFFF#000000##000000
##28942F1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#8B7D38
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #28942f;
/* rgb */ color: rgb(40, 148, 47);
/* oklch */ color: oklch(58.6% 0.169 143.9);
Tailwind
colors: {
  custom: {
    50: '#73b46d',
    500: '#28942f',
    950: '#000000',
  },
}
SCSS
$custom: #28942f;
$custom-light: #73b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#28942f",
  "rgb": {
    "r": 40,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 123.889,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58552,
    "c": 0.169,
    "h": 143.9
  },
  "luminance": 0.21836
}

Semantic roles & 50–950 ramp

primary
#28942F
secondary
#BA5EB4
accent
#47D7E1
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28942F

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

Preview Lab → · Contrast checker → · Palette generator →

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