#28852A#28852A

#28852A is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.154 H 143.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#28852A
RGBrgb(40, 133, 42)
HSLhsl(121, 54%, 34%)
HSVhsv(121, 70%, 52%)
CMYKcmyk(69.9%, 0%, 68.4%, 47.8%)
CIE-LABlab(48.75, -45.60, 39.84)
CIE-LCHlch(48.75, 60.55, 138.86°)
OKLaboklab(54.31% -0.1237 0.092)
OKLCHoklch(54.31% 0.154 143.4)
XYZxyz(9.6799, 17.3923, 5.0370)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28852A #852883
analogous
#558528 #28852A #288559
triadic
#28852A #2A2885 #852A28
tetradic
#28852A #285585 #852883 #855928
square
#28852A #285585 #852883 #855928
split-complementary
#28852A #592885 #852855
monochromatic
#0C270C #1A561B #28852A #36B439 #5ACD5D

Accessibility & contrast

On white

4.69
#28852A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28852A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28852A#FFFFFF#000000##FFFFFF
##28852A1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88781E
Deuteranopia (green-blind)
#7D7132
Tritanopia (blue-blind)
#0E8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #28852a;
/* rgb */ color: rgb(40, 133, 42);
/* oklch */ color: oklch(54.3% 0.154 143.4);
Tailwind
colors: {
  custom: {
    50: '#70a968',
    500: '#28852a',
    950: '#000000',
  },
}
SCSS
$custom: #28852a;
$custom-light: #70a968;
$custom-dark: #000000;
JSON
{
  "hex": "#28852a",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 121.29,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.15415,
    "h": 143.4
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#28852A
secondary
#B356B1
accent
#4BDADD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #28852A

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

Preview Lab → · Contrast checker → · Palette generator →

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