#28992A#28992A

#28992A is a mid, vivid green. Relative luminance 0.234; OKLCH L 59.9% C 0.178 H 143.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#28992A
RGBrgb(40, 153, 42)
HSLhsl(121, 59%, 38%)
HSVhsv(121, 74%, 60%)
CMYKcmyk(73.9%, 0%, 72.5%, 40%)
CIE-LABlab(55.48, -52.60, 46.98)
CIE-LCHlch(55.48, 70.52, 138.23°)
OKLaboklab(59.89% -0.1427 0.107)
OKLCHoklch(59.89% 0.178 143.1)
XYZxyz(12.6834, 23.3993, 6.0381)
Luminance0.2340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28992A #992897
analogous
#5E9928 #28992A #289962
triadic
#28992A #2A2899 #992A28
tetradic
#28992A #285E99 #992897 #996228
square
#28992A #285E99 #992897 #996228
split-complementary
#28992A #622899 #99285E
monochromatic
#0F380F #1B681D #28992A #35CA37 #65D767

Accessibility & contrast

On white

3.70
#28992A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#28992A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28992A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28992A#FFFFFF#000000##000000
##28992A1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A18
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #28992a;
/* rgb */ color: rgb(40, 153, 42);
/* oklch */ color: oklch(59.9% 0.178 143.1);
Tailwind
colors: {
  custom: {
    50: '#74b86a',
    500: '#28992a',
    950: '#000000',
  },
}
SCSS
$custom: #28992a;
$custom-light: #74b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#28992a",
  "rgb": {
    "r": 40,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 121.062,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59892,
    "c": 0.17833,
    "h": 143.1
  },
  "luminance": 0.23401
}

Semantic roles & 50–950 ramp

primary
#28992A
secondary
#BD60BB
accent
#46DFE2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #28992A

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

Preview Lab → · Contrast checker → · Palette generator →

#28992A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva