#28852D#28852D

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

Color values

HEX#28852D
RGBrgb(40, 133, 45)
HSLhsl(123, 54%, 34%)
HSVhsv(123, 70%, 52%)
CMYKcmyk(69.9%, 0%, 66.2%, 47.8%)
CIE-LABlab(48.78, -45.27, 38.52)
CIE-LCHlch(48.78, 59.44, 139.61°)
OKLaboklab(54.34% -0.1227 0.0895)
OKLCHoklch(54.34% 0.152 143.9)
XYZxyz(9.7356, 17.4146, 5.3304)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28852D #852880
analogous
#528528 #28852D #28855C
triadic
#28852D #2D2885 #852D28
tetradic
#28852D #285285 #852880 #855C28
square
#28852D #285285 #852880 #855C28
split-complementary
#28852D #5C2885 #852852
monochromatic
#0C270D #1A561D #28852D #36B43D #5ACD60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28852D#FFFFFF#000000##FFFFFF
##28852D1.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)
#887822
Deuteranopia (green-blind)
#7D7135
Tritanopia (blue-blind)
#0D8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #28852d;
/* rgb */ color: rgb(40, 133, 45);
/* oklch */ color: oklch(54.3% 0.152 143.9);
Tailwind
colors: {
  custom: {
    50: '#70a96a',
    500: '#28852d',
    950: '#000000',
  },
}
SCSS
$custom: #28852d;
$custom-light: #70a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#28852d",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 123.226,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54342,
    "c": 0.15186,
    "h": 143.9
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

primary
#28852D
secondary
#B356AE
accent
#4BD5DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #28852D

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

Preview Lab → · Contrast checker → · Palette generator →

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