#28852C#28852C

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

Color values

HEX#28852C
RGBrgb(40, 133, 44)
HSLhsl(123, 54%, 34%)
HSVhsv(123, 70%, 52%)
CMYKcmyk(69.9%, 0%, 66.9%, 47.8%)
CIE-LABlab(48.77, -45.38, 38.97)
CIE-LCHlch(48.77, 59.82, 139.35°)
OKLaboklab(54.33% -0.123 0.0904)
OKLCHoklch(54.33% 0.153 143.7)
XYZxyz(9.7166, 17.4070, 5.2302)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28852C #852881
analogous
#538528 #28852C #28855B
triadic
#28852C #2C2885 #852C28
tetradic
#28852C #285385 #852881 #855B28
square
#28852C #285385 #852881 #855B28
split-complementary
#28852C #5B2885 #852853
monochromatic
#0C270D #1A561C #28852C #36B43C #5ACD5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28852C#FFFFFF#000000##FFFFFF
##28852C1.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)
#887821
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#0D8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #28852c;
/* rgb */ color: rgb(40, 133, 44);
/* oklch */ color: oklch(54.3% 0.153 143.7);
Tailwind
colors: {
  custom: {
    50: '#70a969',
    500: '#28852c',
    950: '#000000',
  },
}
SCSS
$custom: #28852c;
$custom-light: #70a969;
$custom-dark: #000000;
JSON
{
  "hex": "#28852c",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 44
  },
  "hsl": {
    "h": 122.581,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54332,
    "c": 0.15264,
    "h": 143.7
  },
  "luminance": 0.17408
}

Semantic roles & 50–950 ramp

primary
#28852C
secondary
#B356AF
accent
#4BD7DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #28852C

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

Preview Lab → · Contrast checker → · Palette generator →

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