#28854C#28854C

#28854C is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.123 H 152.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#28854C
RGBrgb(40, 133, 76)
HSLhsl(143, 54%, 34%)
HSVhsv(143, 70%, 52%)
CMYKcmyk(69.9%, 0%, 42.9%, 47.8%)
CIE-LABlab(49.19, -40.56, 23.05)
CIE-LCHlch(49.19, 46.66, 150.39°)
OKLaboklab(54.81% -0.1094 0.0571)
OKLCHoklch(54.81% 0.123 152.4)
XYZxyz(10.5662, 17.7468, 9.7047)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28854C #852861
analogous
#338528 #28854C #28857B
triadic
#28854C #4C2885 #854C28
tetradic
#28854C #283385 #852861 #857B28
square
#28854C #283385 #852861 #857B28
split-complementary
#28854C #7B2885 #852833
monochromatic
#0C2716 #1A5631 #28854C #36B467 #5ACD87

Accessibility & contrast

On white

4.62
#28854C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#28854C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #28854C
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28854C#FFFFFF#000000##FFFFFF
##28854C1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857A48
Deuteranopia (green-blind)
#7A7250
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #28854c;
/* rgb */ color: rgb(40, 133, 76);
/* oklch */ color: oklch(54.8% 0.123 152.4);
Tailwind
colors: {
  custom: {
    50: '#6ea97e',
    500: '#28854c',
    950: '#000000',
  },
}
SCSS
$custom: #28854c;
$custom-light: #6ea97e;
$custom-dark: #000000;
JSON
{
  "hex": "#28854c",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 76
  },
  "hsl": {
    "h": 143.226,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54814,
    "c": 0.12345,
    "h": 152.4
  },
  "luminance": 0.17748
}

Semantic roles & 50–950 ramp

primary
#28854C
secondary
#B3568F
accent
#4BA4DD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #28854C

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

Preview Lab → · Contrast checker → · Palette generator →

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