#28864A#28864A

#28864A is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.1% C 0.127 H 151.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#28864A
RGBrgb(40, 134, 74)
HSLhsl(142, 54%, 34%)
HSVhsv(142, 70%, 53%)
CMYKcmyk(70.1%, 0%, 44.8%, 47.5%)
CIE-LABlab(49.49, -41.34, 24.55)
CIE-LCHlch(49.49, 48.08, 149.30°)
OKLaboklab(55.05% -0.1114 0.0606)
OKLCHoklch(55.05% 0.127 151.5)
XYZxyz(10.6353, 17.9946, 9.3900)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28864A #862864
analogous
#358628 #28864A #288679
triadic
#28864A #4A2886 #864A28
tetradic
#28864A #283586 #862864 #867928
square
#28864A #283586 #862864 #867928
split-complementary
#28864A #792886 #862835
monochromatic
#0C2816 #1A5730 #28864A #36B564 #5BCE84

Accessibility & contrast

On white

4.57
#28864A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#28864A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28864A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28864A#FFFFFF#000000##000000
##28864A1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B46
Deuteranopia (green-blind)
#7B724E
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28864a;
/* rgb */ color: rgb(40, 134, 74);
/* oklch */ color: oklch(55.1% 0.127 151.5);
Tailwind
colors: {
  custom: {
    50: '#6faa7d',
    500: '#28864a',
    950: '#000000',
  },
}
SCSS
$custom: #28864a;
$custom-light: #6faa7d;
$custom-dark: #000000;
JSON
{
  "hex": "#28864a",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 74
  },
  "hsl": {
    "h": 141.702,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55052,
    "c": 0.12684,
    "h": 151.5
  },
  "luminance": 0.17996
}

Semantic roles & 50–950 ramp

primary
#28864A
secondary
#B35792
accent
#4AA8DD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #28864A

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

Preview Lab → · Contrast checker → · Palette generator →

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