#28912A#28912A

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

Color values

HEX#28912A
RGBrgb(40, 145, 42)
HSLhsl(121, 57%, 36%)
HSVhsv(121, 72%, 57%)
CMYKcmyk(72.4%, 0%, 71%, 43.1%)
CIE-LABlab(52.80, -49.86, 44.18)
CIE-LCHlch(52.80, 66.62, 138.46°)
OKLaboklab(57.67% -0.1353 0.1011)
OKLCHoklch(57.67% 0.169 143.2)
XYZxyz(11.4177, 20.8678, 5.6162)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28912A #91288F
analogous
#5B9128 #28912A #28915F
triadic
#28912A #2A2891 #912A28
tetradic
#28912A #285B91 #91288F #915F28
square
#28912A #285B91 #91288F #915F28
split-complementary
#28912A #5F2891 #91285B
monochromatic
#0E310E #1B611C #28912A #35C138 #60D362

Accessibility & contrast

On white

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

On black

5.17
#28912A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28912A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28912A#FFFFFF#000000##000000
##28912A1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#038D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #28912a;
/* rgb */ color: rgb(40, 145, 42);
/* oklch */ color: oklch(57.7% 0.169 143.2);
Tailwind
colors: {
  custom: {
    50: '#73b269',
    500: '#28912a',
    950: '#000000',
  },
}
SCSS
$custom: #28912a;
$custom-light: #73b269;
$custom-dark: #000000;
JSON
{
  "hex": "#28912a",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 42
  },
  "hsl": {
    "h": 121.143,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57671,
    "c": 0.16888,
    "h": 143.2
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#28912A
secondary
#B95CB7
accent
#48DDE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28912A

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

Preview Lab → · Contrast checker → · Palette generator →

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