#28852F#28852F

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

Color values

HEX#28852F
RGBrgb(40, 133, 47)
HSLhsl(125, 54%, 34%)
HSVhsv(125, 70%, 52%)
CMYKcmyk(69.9%, 0%, 64.7%, 47.8%)
CIE-LABlab(48.80, -45.04, 37.62)
CIE-LCHlch(48.80, 58.68, 140.13°)
OKLaboklab(54.36% -0.1219 0.0878)
OKLCHoklch(54.36% 0.15 144.2)
XYZxyz(9.7751, 17.4304, 5.5380)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28852F #85287E
analogous
#508528 #28852F #28855E
triadic
#28852F #2F2885 #852F28
tetradic
#28852F #285085 #85287E #855E28
square
#28852F #285085 #85287E #855E28
split-complementary
#28852F #5E2885 #852850
monochromatic
#0C270E #1A561E #28852F #36B440 #5ACD63

Accessibility & contrast

On white

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

On black

4.49
#28852F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##28852F#FFFFFF#000000##FFFFFF
##28852F1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28852f;
/* rgb */ color: rgb(40, 133, 47);
/* oklch */ color: oklch(54.4% 0.150 144.2);
Tailwind
colors: {
  custom: {
    50: '#6fa96b',
    500: '#28852f',
    950: '#000000',
  },
}
SCSS
$custom: #28852f;
$custom-light: #6fa96b;
$custom-dark: #000000;
JSON
{
  "hex": "#28852f",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 124.516,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54365,
    "c": 0.15027,
    "h": 144.2
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#28852F
secondary
#B356AC
accent
#4BD2DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #28852F

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

Preview Lab → · Contrast checker → · Palette generator →

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