#28834F#28834F

#28834F is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.3% C 0.118 H 154.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#28834F
RGBrgb(40, 131, 79)
HSLhsl(146, 53%, 34%)
HSVhsv(146, 69%, 51%)
CMYKcmyk(69.5%, 0%, 39.7%, 48.6%)
CIE-LABlab(48.57, -39.16, 20.56)
CIE-LCHlch(48.57, 44.23, 152.29°)
OKLaboklab(54.32% -0.1058 0.0513)
OKLCHoklch(54.32% 0.118 154.1)
XYZxyz(10.4017, 17.2471, 10.1765)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28834F #83285C
analogous
#2F8328 #28834F #28837C
triadic
#28834F #4F2883 #834F28
tetradic
#28834F #282F83 #83285C #837C28
square
#28834F #282F83 #83285C #837C28
split-complementary
#28834F #7C2883 #83282F
monochromatic
#0B2516 #1A5433 #28834F #36B26B #59CC8A

Accessibility & contrast

On white

4.72
#28834F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#28834F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28834F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28834F#FFFFFF#000000##FFFFFF
##28834F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83784B
Deuteranopia (green-blind)
#777052
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #28834f;
/* rgb */ color: rgb(40, 131, 79);
/* oklch */ color: oklch(54.3% 0.118 154.1);
Tailwind
colors: {
  custom: {
    50: '#6ea881',
    500: '#28834f',
    950: '#000000',
  },
}
SCSS
$custom: #28834f;
$custom-light: #6ea881;
$custom-dark: #000000;
JSON
{
  "hex": "#28834f",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 79
  },
  "hsl": {
    "h": 145.714,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54322,
    "c": 0.11762,
    "h": 154.1
  },
  "luminance": 0.17248
}

Semantic roles & 50–950 ramp

primary
#28834F
secondary
#B1558A
accent
#4B9EDD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #28834F

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

Preview Lab → · Contrast checker → · Palette generator →

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