#28874B#28874B

#28874B is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.127 H 151.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#28874B
RGBrgb(40, 135, 75)
HSLhsl(142, 54%, 34%)
HSVhsv(142, 70%, 53%)
CMYKcmyk(70.4%, 0%, 44.4%, 47.1%)
CIE-LABlab(49.84, -41.56, 24.46)
CIE-LCHlch(49.84, 48.22, 149.53°)
OKLaboklab(55.35% -0.112 0.0604)
OKLCHoklch(55.35% 0.127 151.7)
XYZxyz(10.8081, 18.2859, 9.6152)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28874B #872864
analogous
#358728 #28874B #28877B
triadic
#28874B #4B2887 #874B28
tetradic
#28874B #283587 #872864 #877B28
square
#28874B #283587 #872864 #877B28
split-complementary
#28874B #7B2887 #872835
monochromatic
#0C2917 #1A5831 #28874B #36B665 #5BCE86

Accessibility & contrast

On white

4.51
#28874B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#28874B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28874B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28874B#FFFFFF#000000##000000
##28874B1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C47
Deuteranopia (green-blind)
#7C734F
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28874b;
/* rgb */ color: rgb(40, 135, 75);
/* oklch */ color: oklch(55.3% 0.127 151.7);
Tailwind
colors: {
  custom: {
    50: '#6fab7e',
    500: '#28874b',
    950: '#000000',
  },
}
SCSS
$custom: #28874b;
$custom-light: #6fab7e;
$custom-dark: #000000;
JSON
{
  "hex": "#28874b",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 75
  },
  "hsl": {
    "h": 142.105,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55347,
    "c": 0.12727,
    "h": 151.7
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

primary
#28874B
secondary
#B45792
accent
#4AA7DE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #28874B

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

Preview Lab → · Contrast checker → · Palette generator →

#28874B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva