#28812E#28812E

#28812E is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.146 H 144.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#28812E
RGBrgb(40, 129, 46)
HSLhsl(124, 53%, 33%)
HSVhsv(124, 69%, 51%)
CMYKcmyk(69%, 0%, 64.3%, 49.4%)
CIE-LABlab(47.43, -43.67, 36.55)
CIE-LCHlch(47.43, 56.95, 140.08°)
OKLaboklab(53.23% -0.1183 0.0854)
OKLCHoklch(53.23% 0.146 144.2)
XYZxyz(9.2179, 16.3479, 5.2539)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28812E #81287B
analogous
#4E8128 #28812E #28815A
triadic
#28812E #2E2881 #812E28
tetradic
#28812E #284E81 #81287B #815A28
square
#28812E #284E81 #81287B #815A28
split-complementary
#28812E #5A2881 #81284E
monochromatic
#0B240D #1A521D #28812E #36B03F #58CB60

Accessibility & contrast

On white

4.92
#28812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#28812E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28812E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28812E#FFFFFF#000000##FFFFFF
##28812E1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837525
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#0F7D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28812e;
/* rgb */ color: rgb(40, 129, 46);
/* oklch */ color: oklch(53.2% 0.146 144.2);
Tailwind
colors: {
  custom: {
    50: '#6fa66a',
    500: '#28812e',
    950: '#000000',
  },
}
SCSS
$custom: #28812e;
$custom-light: #6fa66a;
$custom-dark: #000000;
JSON
{
  "hex": "#28812e",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 124.045,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53228,
    "c": 0.14591,
    "h": 144.2
  },
  "luminance": 0.16349
}

Semantic roles & 50–950 ramp

primary
#28812E
secondary
#B054AA
accent
#4CD2DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #28812E

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

Preview Lab → · Contrast checker → · Palette generator →

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