#28992C#28992C

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

Color values

HEX#28992C
RGBrgb(40, 153, 44)
HSLhsl(122, 59%, 38%)
HSVhsv(122, 74%, 60%)
CMYKcmyk(73.9%, 0%, 71.2%, 40%)
CIE-LABlab(55.50, -52.42, 46.20)
CIE-LCHlch(55.50, 69.87, 138.61°)
OKLaboklab(59.91% -0.1421 0.1056)
OKLCHoklch(59.91% 0.177 143.4)
XYZxyz(12.7201, 23.4140, 6.2314)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28992C #992895
analogous
#5C9928 #28992C #289964
triadic
#28992C #2C2899 #992C28
tetradic
#28992C #285C99 #992895 #996428
square
#28992C #285C99 #992895 #996428
split-complementary
#28992C #642899 #99285C
monochromatic
#0F3810 #1B681E #28992C #35CA3A #65D769

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28992C#FFFFFF#000000##000000
##28992C1.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)
#9C8A1B
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #28992c;
/* rgb */ color: rgb(40, 153, 44);
/* oklch */ color: oklch(59.9% 0.177 143.4);
Tailwind
colors: {
  custom: {
    50: '#74b86b',
    500: '#28992c',
    950: '#000000',
  },
}
SCSS
$custom: #28992c;
$custom-light: #74b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#28992c",
  "rgb": {
    "r": 40,
    "g": 153,
    "b": 44
  },
  "hsl": {
    "h": 122.124,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59909,
    "c": 0.17704,
    "h": 143.4
  },
  "luminance": 0.23415
}

Semantic roles & 50–950 ramp

primary
#28992C
secondary
#BD60B9
accent
#46DCE2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #28992C

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

Preview Lab → · Contrast checker → · Palette generator →

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