#28792E#28792E

#28792E is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.135 H 144.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#28792E
RGBrgb(40, 121, 46)
HSLhsl(124, 50%, 32%)
HSVhsv(124, 67%, 47%)
CMYKcmyk(66.9%, 0%, 62%, 52.5%)
CIE-LABlab(44.69, -40.62, 33.42)
CIE-LCHlch(44.69, 52.60, 140.55°)
OKLaboklab(50.97% -0.11 0.0787)
OKLCHoklch(50.97% 0.135 144.4)
XYZxyz(8.2051, 14.3223, 4.9163)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28792E #792873
analogous
#4B7928 #28792E #287957
triadic
#28792E #2E2879 #792E28
tetradic
#28792E #284B79 #792873 #795728
square
#28792E #284B79 #792873 #795728
split-complementary
#28792E #572879 #79284B
monochromatic
#0A1D0B #194B1D #28792E #37A73F #55C75D

Accessibility & contrast

On white

5.43
#28792E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28792E
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28792E#FFFFFF#000000##FFFFFF
##28792E1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E26
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#147669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #28792e;
/* rgb */ color: rgb(40, 121, 46);
/* oklch */ color: oklch(51.0% 0.135 144.4);
Tailwind
colors: {
  custom: {
    50: '#6da069',
    500: '#28792e',
    950: '#000000',
  },
}
SCSS
$custom: #28792e;
$custom-light: #6da069;
$custom-dark: #000000;
JSON
{
  "hex": "#28792e",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 124.444,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.13529,
    "h": 144.4
  },
  "luminance": 0.14323
}

Semantic roles & 50–950 ramp

primary
#28792E
secondary
#AB52A4
accent
#4ECFDA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F06
muted
#7A7E7A

Preview Lab

Preview with #28792E

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

Preview Lab → · Contrast checker → · Palette generator →

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