#28792B#28792B

#28792B is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.138 H 143.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#28792B
RGBrgb(40, 121, 43)
HSLhsl(122, 50%, 32%)
HSVhsv(122, 67%, 47%)
CMYKcmyk(66.9%, 0%, 64.5%, 52.5%)
CIE-LABlab(44.66, -41.00, 34.85)
CIE-LCHlch(44.66, 53.81, 139.63°)
OKLaboklab(50.93% -0.1112 0.0815)
OKLCHoklch(50.93% 0.138 143.8)
XYZxyz(8.1480, 14.2995, 4.6157)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28792B #792876
analogous
#4E7928 #28792B #287954
triadic
#28792B #2B2879 #792B28
tetradic
#28792B #284E79 #792876 #795428
square
#28792B #284E79 #792876 #795428
split-complementary
#28792B #542879 #79284E
monochromatic
#0A1D0A #194B1B #28792B #37A73B #55C759

Accessibility & contrast

On white

5.44
#28792B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#28792B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28792B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28792B#FFFFFF#000000##FFFFFF
##28792B1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E22
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#157668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #28792b;
/* rgb */ color: rgb(40, 121, 43);
/* oklch */ color: oklch(50.9% 0.138 143.8);
Tailwind
colors: {
  custom: {
    50: '#6da068',
    500: '#28792b',
    950: '#000000',
  },
}
SCSS
$custom: #28792b;
$custom-light: #6da068;
$custom-dark: #000000;
JSON
{
  "hex": "#28792b",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 122.222,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50928,
    "c": 0.13785,
    "h": 143.8
  },
  "luminance": 0.143
}

Semantic roles & 50–950 ramp

primary
#28792B
secondary
#AB52A8
accent
#4ED5DA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F06
muted
#7A7E7A

Preview Lab

Preview with #28792B

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

Preview Lab → · Contrast checker → · Palette generator →

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