#28992B#28992B

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

Color values

HEX#28992B
RGBrgb(40, 153, 43)
HSLhsl(122, 59%, 38%)
HSVhsv(122, 74%, 60%)
CMYKcmyk(73.9%, 0%, 71.9%, 40%)
CIE-LABlab(55.49, -52.51, 46.59)
CIE-LCHlch(55.49, 70.20, 138.42°)
OKLaboklab(59.9% -0.1424 0.1063)
OKLCHoklch(59.9% 0.178 143.3)
XYZxyz(12.7016, 23.4066, 6.1336)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28992B #992896
analogous
#5D9928 #28992B #289963
triadic
#28992B #2B2899 #992B28
tetradic
#28992B #285D99 #992896 #996328
square
#28992B #285D99 #992896 #996328
split-complementary
#28992B #632899 #99285D
monochromatic
#0F3810 #1B681D #28992B #35CA39 #65D768

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28992B#FFFFFF#000000##000000
##28992B1.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)
#9C8A19
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #28992b;
/* rgb */ color: rgb(40, 153, 43);
/* oklch */ color: oklch(59.9% 0.178 143.3);
Tailwind
colors: {
  custom: {
    50: '#74b86b',
    500: '#28992b',
    950: '#000000',
  },
}
SCSS
$custom: #28992b;
$custom-light: #74b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#28992b",
  "rgb": {
    "r": 40,
    "g": 153,
    "b": 43
  },
  "hsl": {
    "h": 121.593,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.599,
    "c": 0.17769,
    "h": 143.3
  },
  "luminance": 0.23408
}

Semantic roles & 50–950 ramp

primary
#28992B
secondary
#BD60BA
accent
#46DEE2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #28992B

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

Preview Lab → · Contrast checker → · Palette generator →

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