#28912D#28912D

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

Color values

HEX#28912D
RGBrgb(40, 145, 45)
HSLhsl(123, 57%, 36%)
HSVhsv(123, 72%, 57%)
CMYKcmyk(72.4%, 0%, 69%, 43.1%)
CIE-LABlab(52.83, -49.57, 42.95)
CIE-LCHlch(52.83, 65.59, 139.09°)
OKLaboklab(57.7% -0.1343 0.0989)
OKLCHoklch(57.7% 0.167 143.6)
XYZxyz(11.4734, 20.8901, 5.9096)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28912D #91288C
analogous
#589128 #28912D #289162
triadic
#28912D #2D2891 #912D28
tetradic
#28912D #285891 #91288C #916228
square
#28912D #285891 #91288C #916228
split-complementary
#28912D #622891 #912858
monochromatic
#0E310F #1B611E #28912D #35C13C #60D366

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28912D#FFFFFF#000000##000000
##28912D1.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)
#94831F
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#018D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #28912d;
/* rgb */ color: rgb(40, 145, 45);
/* oklch */ color: oklch(57.7% 0.167 143.6);
Tailwind
colors: {
  custom: {
    50: '#72b26b',
    500: '#28912d',
    950: '#000000',
  },
}
SCSS
$custom: #28912d;
$custom-light: #72b26b;
$custom-dark: #000000;
JSON
{
  "hex": "#28912d",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 45
  },
  "hsl": {
    "h": 122.857,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57699,
    "c": 0.16678,
    "h": 143.6
  },
  "luminance": 0.20891
}

Semantic roles & 50–950 ramp

primary
#28912D
secondary
#B95CB4
accent
#48D9E0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28912D

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

Preview Lab → · Contrast checker → · Palette generator →

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