#28834B#28834B

#28834B is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.122 H 152.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#28834B
RGBrgb(40, 131, 75)
HSLhsl(143, 53%, 34%)
HSVhsv(143, 69%, 51%)
CMYKcmyk(69.5%, 0%, 42.7%, 48.6%)
CIE-LABlab(48.50, -39.94, 22.71)
CIE-LCHlch(48.50, 45.94, 150.38°)
OKLaboklab(54.24% -0.1078 0.0563)
OKLCHoklch(54.24% 0.122 152.4)
XYZxyz(10.2605, 17.1906, 9.4326)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28834B #832860
analogous
#328328 #28834B #288378
triadic
#28834B #4B2883 #834B28
tetradic
#28834B #283283 #832860 #837828
square
#28834B #283283 #832860 #837828
split-complementary
#28834B #782883 #832832
monochromatic
#0B2515 #1A5430 #28834B #36B266 #59CC85

Accessibility & contrast

On white

4.73
#28834B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#28834B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28834B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28834B#FFFFFF#000000##FFFFFF
##28834B1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837847
Deuteranopia (green-blind)
#78704F
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #28834b;
/* rgb */ color: rgb(40, 131, 75);
/* oklch */ color: oklch(54.2% 0.122 152.4);
Tailwind
colors: {
  custom: {
    50: '#6ea87e',
    500: '#28834b',
    950: '#000000',
  },
}
SCSS
$custom: #28834b;
$custom-light: #6ea87e;
$custom-dark: #000000;
JSON
{
  "hex": "#28834b",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 75
  },
  "hsl": {
    "h": 143.077,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.12159,
    "h": 152.4
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#28834B
secondary
#B1558E
accent
#4BA5DD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #28834B

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

Preview Lab → · Contrast checker → · Palette generator →

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