#28862D#28862D

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

Color values

HEX#28862D
RGBrgb(40, 134, 45)
HSLhsl(123, 54%, 34%)
HSVhsv(123, 70%, 53%)
CMYKcmyk(70.1%, 0%, 66.4%, 47.5%)
CIE-LABlab(49.12, -45.64, 38.90)
CIE-LCHlch(49.12, 59.97, 139.56°)
OKLaboklab(54.62% -0.1237 0.0903)
OKLCHoklch(54.62% 0.153 143.9)
XYZxyz(9.8732, 17.6897, 5.3762)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28862D #862881
analogous
#528628 #28862D #28865C
triadic
#28862D #2D2886 #862D28
tetradic
#28862D #285286 #862881 #865C28
square
#28862D #285286 #862881 #865C28
split-complementary
#28862D #5C2886 #862852
monochromatic
#0C280D #1A571D #28862D #36B53D #5BCE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28862D#FFFFFF#000000##FFFFFF
##28862D1.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)
#897922
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#0C8273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #28862d;
/* rgb */ color: rgb(40, 134, 45);
/* oklch */ color: oklch(54.6% 0.153 143.9);
Tailwind
colors: {
  custom: {
    50: '#70aa6a',
    500: '#28862d',
    950: '#000000',
  },
}
SCSS
$custom: #28862d;
$custom-light: #70aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#28862d",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 123.191,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.15314,
    "h": 143.9
  },
  "luminance": 0.17691
}

Semantic roles & 50–950 ramp

primary
#28862D
secondary
#B357AE
accent
#4AD6DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #28862D

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

Preview Lab → · Contrast checker → · Palette generator →

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