#28843D#28843D

#28843D is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.137 H 147.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#28843D
RGBrgb(40, 132, 61)
HSLhsl(134, 53%, 34%)
HSVhsv(134, 70%, 52%)
CMYKcmyk(69.7%, 0%, 53.8%, 48.2%)
CIE-LABlab(48.62, -42.76, 30.45)
CIE-LCHlch(48.62, 52.49, 144.55°)
OKLaboklab(54.27% -0.1153 0.0734)
OKLCHoklch(54.27% 0.137 147.5)
XYZxyz(9.9679, 17.2895, 7.2259)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28843D #84286F
analogous
#418428 #28843D #28846B
triadic
#28843D #3D2884 #843D28
tetradic
#28843D #284184 #84286F #846B28
square
#28843D #284184 #84286F #846B28
split-complementary
#28843D #6B2884 #842841
monochromatic
#0C2612 #1A5527 #28843D #36B353 #5ACD74

Accessibility & contrast

On white

4.71
#28843D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#28843D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28843D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28843D#FFFFFF#000000##FFFFFF
##28843D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867837
Deuteranopia (green-blind)
#7A7042
Tritanopia (blue-blind)
#028174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #28843d;
/* rgb */ color: rgb(40, 132, 61);
/* oklch */ color: oklch(54.3% 0.137 147.5);
Tailwind
colors: {
  custom: {
    50: '#6fa974',
    500: '#28843d',
    950: '#000000',
  },
}
SCSS
$custom: #28843d;
$custom-light: #6fa974;
$custom-dark: #000000;
JSON
{
  "hex": "#28843d",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 61
  },
  "hsl": {
    "h": 133.696,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.13665,
    "h": 147.5
  },
  "luminance": 0.17291
}

Semantic roles & 50–950 ramp

primary
#28843D
secondary
#B2569D
accent
#4BBCDD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #28843D

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

Preview Lab → · Contrast checker → · Palette generator →

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