#28942E#28942E

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

Color values

HEX#28942E
RGBrgb(40, 148, 46)
HSLhsl(123, 57%, 37%)
HSVhsv(123, 73%, 58%)
CMYKcmyk(73%, 0%, 68.9%, 42%)
CIE-LABlab(53.84, -50.51, 43.61)
CIE-LCHlch(53.84, 66.73, 139.19°)
OKLaboklab(58.54% -0.1368 0.1004)
OKLCHoklch(58.54% 0.17 143.7)
XYZxyz(11.9574, 21.8269, 6.1671)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28942E #94288E
analogous
#589428 #28942E #289464
triadic
#28942E #2E2894 #942E28
tetradic
#28942E #285894 #94288E #946428
square
#28942E #285894 #94288E #946428
split-complementary
#28942E #642894 #942858
monochromatic
#0E3410 #1B641F #28942E #35C43D #62D568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28942E#FFFFFF#000000##000000
##28942E1.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)
#978620
Deuteranopia (green-blind)
#8B7D38
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #28942e;
/* rgb */ color: rgb(40, 148, 46);
/* oklch */ color: oklch(58.5% 0.170 143.7);
Tailwind
colors: {
  custom: {
    50: '#73b46c',
    500: '#28942e',
    950: '#000000',
  },
}
SCSS
$custom: #28942e;
$custom-light: #73b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#28942e",
  "rgb": {
    "r": 40,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 123.333,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58542,
    "c": 0.16971,
    "h": 143.7
  },
  "luminance": 0.21828
}

Semantic roles & 50–950 ramp

primary
#28942E
secondary
#BA5EB5
accent
#47D8E1
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28942E

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

Preview Lab → · Contrast checker → · Palette generator →

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