#28862E#28862E

#28862E is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.152 H 144.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#28862E
RGBrgb(40, 134, 46)
HSLhsl(124, 54%, 34%)
HSVhsv(124, 70%, 53%)
CMYKcmyk(70.1%, 0%, 65.7%, 47.5%)
CIE-LABlab(49.13, -45.52, 38.45)
CIE-LCHlch(49.13, 59.59, 139.81°)
OKLaboklab(54.63% -0.1233 0.0895)
OKLCHoklch(54.63% 0.152 144)
XYZxyz(9.8927, 17.6975, 5.4788)
Luminance0.1770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28862E #862880
analogous
#518628 #28862E #28865D
triadic
#28862E #2E2886 #862E28
tetradic
#28862E #285186 #862880 #865D28
square
#28862E #285186 #862880 #865D28
split-complementary
#28862E #5D2886 #862851
monochromatic
#0C280E #1A571E #28862E #36B53E #5BCE62

Accessibility & contrast

On white

4.63
#28862E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#28862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #28862E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28862E#FFFFFF#000000##FFFFFF
##28862E1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897923
Deuteranopia (green-blind)
#7D7236
Tritanopia (blue-blind)
#0B8274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #28862e;
/* rgb */ color: rgb(40, 134, 46);
/* oklch */ color: oklch(54.6% 0.152 144.0);
Tailwind
colors: {
  custom: {
    50: '#70aa6b',
    500: '#28862e',
    950: '#000000',
  },
}
SCSS
$custom: #28862e;
$custom-light: #70aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#28862e",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 123.83,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.15235,
    "h": 144
  },
  "luminance": 0.17699
}

Semantic roles & 50–950 ramp

primary
#28862E
secondary
#B357AD
accent
#4AD4DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #28862E

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

Preview Lab → · Contrast checker → · Palette generator →

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