#28843C#28843C

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

Color values

HEX#28843C
RGBrgb(40, 132, 60)
HSLhsl(133, 53%, 34%)
HSVhsv(133, 70%, 52%)
CMYKcmyk(69.7%, 0%, 54.5%, 48.2%)
CIE-LABlab(48.61, -42.91, 30.95)
CIE-LCHlch(48.61, 52.91, 144.20°)
OKLaboklab(54.26% -0.1157 0.0744)
OKLCHoklch(54.26% 0.138 147.3)
XYZxyz(9.9412, 17.2788, 7.0853)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28843C #842870
analogous
#428428 #28843C #28846A
triadic
#28843C #3C2884 #843C28
tetradic
#28843C #284284 #842870 #846A28
square
#28843C #284284 #842870 #846A28
split-complementary
#28843C #6A2884 #842842
monochromatic
#0C2611 #1A5527 #28843C #36B351 #5ACD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28843C#FFFFFF#000000##FFFFFF
##28843C1.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)
#867836
Deuteranopia (green-blind)
#7A7041
Tritanopia (blue-blind)
#038174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #28843c;
/* rgb */ color: rgb(40, 132, 60);
/* oklch */ color: oklch(54.3% 0.138 147.3);
Tailwind
colors: {
  custom: {
    50: '#6fa973',
    500: '#28843c',
    950: '#000000',
  },
}
SCSS
$custom: #28843c;
$custom-light: #6fa973;
$custom-dark: #000000;
JSON
{
  "hex": "#28843c",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 60
  },
  "hsl": {
    "h": 133.043,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.13758,
    "h": 147.3
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#28843C
secondary
#B2569E
accent
#4BBDDD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #28843C

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

Preview Lab → · Contrast checker → · Palette generator →

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