#28862A#28862A

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

Color values

HEX#28862A
RGBrgb(40, 134, 42)
HSLhsl(121, 54%, 34%)
HSVhsv(121, 70%, 53%)
CMYKcmyk(70.1%, 0%, 68.7%, 47.5%)
CIE-LABlab(49.09, -45.96, 40.21)
CIE-LCHlch(49.09, 61.07, 138.82°)
OKLaboklab(54.59% -0.1247 0.0928)
OKLCHoklch(54.59% 0.155 143.4)
XYZxyz(9.8175, 17.6674, 5.0828)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28862A #862884
analogous
#558628 #28862A #288659
triadic
#28862A #2A2886 #862A28
tetradic
#28862A #285586 #862884 #865928
square
#28862A #285586 #862884 #865928
split-complementary
#28862A #592886 #862855
monochromatic
#0C280C #1A571B #28862A #36B539 #5BCE5D

Accessibility & contrast

On white

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

On black

4.53
#28862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##28862A#FFFFFF#000000##FFFFFF
##28862A1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89791E
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#0D8273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #28862a;
/* rgb */ color: rgb(40, 134, 42);
/* oklch */ color: oklch(54.6% 0.155 143.4);
Tailwind
colors: {
  custom: {
    50: '#70aa68',
    500: '#28862a',
    950: '#000000',
  },
}
SCSS
$custom: #28862a;
$custom-light: #70aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#28862a",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 121.277,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54592,
    "c": 0.15541,
    "h": 143.4
  },
  "luminance": 0.17668
}

Semantic roles & 50–950 ramp

primary
#28862A
secondary
#B357B1
accent
#4ADADD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #28862A

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

Preview Lab → · Contrast checker → · Palette generator →

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