#28992F#28992F

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

Color values

HEX#28992F
RGBrgb(40, 153, 47)
HSLhsl(124, 59%, 38%)
HSVhsv(124, 74%, 60%)
CMYKcmyk(73.9%, 0%, 69.3%, 40%)
CIE-LABlab(55.52, -52.13, 44.99)
CIE-LCHlch(55.52, 68.86, 139.21°)
OKLaboklab(59.94% -0.1412 0.1034)
OKLCHoklch(59.94% 0.175 143.8)
XYZxyz(12.7786, 23.4374, 6.5392)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28992F #992892
analogous
#599928 #28992F #289967
triadic
#28992F #2F2899 #992F28
tetradic
#28992F #285999 #992892 #996728
square
#28992F #285999 #992892 #996728
split-complementary
#28992F #672899 #992859
monochromatic
#0F3811 #1B6820 #28992F #35CA3E #65D76C

Accessibility & contrast

On white

3.69
#28992F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#28992F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28992F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28992F#FFFFFF#000000##000000
##28992F1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A20
Deuteranopia (green-blind)
#8F8239
Tritanopia (blue-blind)
#009584
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #28992f;
/* rgb */ color: rgb(40, 153, 47);
/* oklch */ color: oklch(59.9% 0.175 143.8);
Tailwind
colors: {
  custom: {
    50: '#74b86d',
    500: '#28992f',
    950: '#000000',
  },
}
SCSS
$custom: #28992f;
$custom-light: #74b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#28992f",
  "rgb": {
    "r": 40,
    "g": 153,
    "b": 47
  },
  "hsl": {
    "h": 123.717,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59936,
    "c": 0.175,
    "h": 143.8
  },
  "luminance": 0.23439
}

Semantic roles & 50–950 ramp

primary
#28992F
secondary
#BD60B7
accent
#46D8E2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28992F

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

Preview Lab → · Contrast checker → · Palette generator →

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