#28912C#28912C

#28912C is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.7% C 0.168 H 143.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#28912C
RGBrgb(40, 145, 44)
HSLhsl(122, 57%, 36%)
HSVhsv(122, 72%, 57%)
CMYKcmyk(72.4%, 0%, 69.7%, 43.1%)
CIE-LABlab(52.82, -49.67, 43.36)
CIE-LCHlch(52.82, 65.93, 138.88°)
OKLaboklab(57.69% -0.1346 0.0996)
OKLCHoklch(57.69% 0.168 143.5)
XYZxyz(11.4544, 20.8825, 5.8094)
Luminance0.2088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28912C #91288D
analogous
#599128 #28912C #289161
triadic
#28912C #2C2891 #912C28
tetradic
#28912C #285991 #91288D #916128
square
#28912C #285991 #91288D #916128
split-complementary
#28912C #612891 #912859
monochromatic
#0E310F #1B611D #28912C #35C13B #60D365

Accessibility & contrast

On white

4.06
#28912C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#28912C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28912C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28912C#FFFFFF#000000##000000
##28912C1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831E
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#018D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #28912c;
/* rgb */ color: rgb(40, 145, 44);
/* oklch */ color: oklch(57.7% 0.168 143.5);
Tailwind
colors: {
  custom: {
    50: '#72b26a',
    500: '#28912c',
    950: '#000000',
  },
}
SCSS
$custom: #28912c;
$custom-light: #72b26a;
$custom-dark: #000000;
JSON
{
  "hex": "#28912c",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 44
  },
  "hsl": {
    "h": 122.286,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.1675,
    "h": 143.5
  },
  "luminance": 0.20884
}

Semantic roles & 50–950 ramp

primary
#28912C
secondary
#B95CB5
accent
#48DAE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28912C

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

Preview Lab → · Contrast checker → · Palette generator →

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