#28912E#28912E

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

Color values

HEX#28912E
RGBrgb(40, 145, 46)
HSLhsl(123, 57%, 36%)
HSVhsv(123, 72%, 57%)
CMYKcmyk(72.4%, 0%, 68.3%, 43.1%)
CIE-LABlab(52.84, -49.47, 42.53)
CIE-LCHlch(52.84, 65.23, 139.31°)
OKLaboklab(57.71% -0.134 0.0981)
OKLCHoklch(57.71% 0.166 143.8)
XYZxyz(11.4929, 20.8979, 6.0122)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28912E #91288B
analogous
#579128 #28912E #289163
triadic
#28912E #2E2891 #912E28
tetradic
#28912E #285791 #91288B #916328
square
#28912E #285791 #91288B #916328
split-complementary
#28912E #632891 #912857
monochromatic
#0E3110 #1B611F #28912E #35C13D #60D367

Accessibility & contrast

On white

4.05
#28912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##28912E#FFFFFF#000000##000000
##28912E1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948321
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#008D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #28912e;
/* rgb */ color: rgb(40, 145, 46);
/* oklch */ color: oklch(57.7% 0.166 143.8);
Tailwind
colors: {
  custom: {
    50: '#72b26c',
    500: '#28912e',
    950: '#000000',
  },
}
SCSS
$custom: #28912e;
$custom-light: #72b26c;
$custom-dark: #000000;
JSON
{
  "hex": "#28912e",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 123.429,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57709,
    "c": 0.16607,
    "h": 143.8
  },
  "luminance": 0.20899
}

Semantic roles & 50–950 ramp

primary
#28912E
secondary
#B95CB3
accent
#48D7E0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28912E

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

Preview Lab → · Contrast checker → · Palette generator →

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