#28922D#28922D

#28922D is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.0% C 0.168 H 143.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#28922D
RGBrgb(40, 146, 45)
HSLhsl(123, 57%, 36%)
HSVhsv(123, 73%, 57%)
CMYKcmyk(72.6%, 0%, 69.2%, 42.7%)
CIE-LABlab(53.16, -49.92, 43.31)
CIE-LCHlch(53.16, 66.09, 139.06°)
OKLaboklab(57.98% -0.1353 0.0996)
OKLCHoklch(57.98% 0.168 143.6)
XYZxyz(11.6269, 21.1971, 5.9608)
Luminance0.2120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28922D #92288D
analogous
#589228 #28922D #289262
triadic
#28922D #2D2892 #922D28
tetradic
#28922D #285892 #92288D #926228
square
#28922D #285892 #92288D #926228
split-complementary
#28922D #622892 #922858
monochromatic
#0E320F #1B621E #28922D #35C23C #61D466

Accessibility & contrast

On white

4.01
#28922D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#28922D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28922D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28922D#FFFFFF#000000##000000
##28922D1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841F
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #28922d;
/* rgb */ color: rgb(40, 146, 45);
/* oklch */ color: oklch(58.0% 0.168 143.6);
Tailwind
colors: {
  custom: {
    50: '#73b36b',
    500: '#28922d',
    950: '#000000',
  },
}
SCSS
$custom: #28922d;
$custom-light: #73b36b;
$custom-dark: #000000;
JSON
{
  "hex": "#28922d",
  "rgb": {
    "r": 40,
    "g": 146,
    "b": 45
  },
  "hsl": {
    "h": 122.83,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57977,
    "c": 0.168,
    "h": 143.6
  },
  "luminance": 0.21198
}

Semantic roles & 50–950 ramp

primary
#28922D
secondary
#B95DB5
accent
#48D9E0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28922D

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

Preview Lab → · Contrast checker → · Palette generator →

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