#28852E#28852E

#28852E is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.151 H 144.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#28852E
RGBrgb(40, 133, 46)
HSLhsl(124, 54%, 34%)
HSVhsv(124, 70%, 52%)
CMYKcmyk(69.9%, 0%, 65.4%, 47.8%)
CIE-LABlab(48.79, -45.16, 38.07)
CIE-LCHlch(48.79, 59.07, 139.87°)
OKLaboklab(54.35% -0.1223 0.0887)
OKLCHoklch(54.35% 0.151 144.1)
XYZxyz(9.7551, 17.4224, 5.4330)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28852E #85287F
analogous
#518528 #28852E #28855D
triadic
#28852E #2E2885 #852E28
tetradic
#28852E #285185 #85287F #855D28
square
#28852E #285185 #85287F #855D28
split-complementary
#28852E #5D2885 #852851
monochromatic
#0C270D #1A561E #28852E #36B43E #5ACD61

Accessibility & contrast

On white

4.68
#28852E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#28852E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28852E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28852E#FFFFFF#000000##FFFFFF
##28852E1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887924
Deuteranopia (green-blind)
#7D7136
Tritanopia (blue-blind)
#0C8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #28852e;
/* rgb */ color: rgb(40, 133, 46);
/* oklch */ color: oklch(54.4% 0.151 144.1);
Tailwind
colors: {
  custom: {
    50: '#70a96a',
    500: '#28852e',
    950: '#000000',
  },
}
SCSS
$custom: #28852e;
$custom-light: #70a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#28852e",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 46
  },
  "hsl": {
    "h": 123.871,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54354,
    "c": 0.15108,
    "h": 144.1
  },
  "luminance": 0.17423
}

Semantic roles & 50–950 ramp

primary
#28852E
secondary
#B356AD
accent
#4BD4DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #28852E

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

Preview Lab → · Contrast checker → · Palette generator →

#28852E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva