#28824F#28824F

#28824F is a mid, moderate green. Relative luminance 0.170; OKLCH L 54.0% C 0.116 H 154.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#28824F
RGBrgb(40, 130, 79)
HSLhsl(146, 53%, 33%)
HSVhsv(146, 69%, 51%)
CMYKcmyk(69.2%, 0%, 39.2%, 49%)
CIE-LABlab(48.23, -38.74, 20.12)
CIE-LCHlch(48.23, 43.65, 152.56°)
OKLaboklab(54.05% -0.1047 0.0503)
OKLCHoklch(54.05% 0.116 154.4)
XYZxyz(10.2681, 16.9798, 10.1319)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28824F #82285B
analogous
#2E8228 #28824F #28827C
triadic
#28824F #4F2882 #824F28
tetradic
#28824F #282E82 #82285B #827C28
square
#28824F #282E82 #82285B #827C28
split-complementary
#28824F #7C2882 #82282E
monochromatic
#0B2416 #1A5333 #28824F #36B16B #59CC8B

Accessibility & contrast

On white

4.78
#28824F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#28824F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28824F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28824F#FFFFFF#000000##FFFFFF
##28824F1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82774C
Deuteranopia (green-blind)
#766F52
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #28824f;
/* rgb */ color: rgb(40, 130, 79);
/* oklch */ color: oklch(54.0% 0.116 154.4);
Tailwind
colors: {
  custom: {
    50: '#6ea781',
    500: '#28824f',
    950: '#000000',
  },
}
SCSS
$custom: #28824f;
$custom-light: #6ea781;
$custom-dark: #000000;
JSON
{
  "hex": "#28824f",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 79
  },
  "hsl": {
    "h": 146,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54046,
    "c": 0.11618,
    "h": 154.4
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#28824F
secondary
#B15589
accent
#4B9EDC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #28824F

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

Preview Lab → · Contrast checker → · Palette generator →

#28824F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva