#28792C#28792C

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

Color values

HEX#28792C
RGBrgb(40, 121, 44)
HSLhsl(123, 50%, 32%)
HSVhsv(123, 67%, 47%)
CMYKcmyk(66.9%, 0%, 63.6%, 52.5%)
CIE-LABlab(44.67, -40.87, 34.38)
CIE-LCHlch(44.67, 53.41, 139.93°)
OKLaboklab(50.94% -0.1108 0.0806)
OKLCHoklch(50.94% 0.137 144)
XYZxyz(8.1666, 14.3069, 4.7135)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28792C #792875
analogous
#4D7928 #28792C #287955
triadic
#28792C #2C2879 #792C28
tetradic
#28792C #284D79 #792875 #795528
square
#28792C #284D79 #792875 #795528
split-complementary
#28792C #552879 #79284D
monochromatic
#0A1D0B #194B1B #28792C #37A73D #55C75A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28792C#FFFFFF#000000##FFFFFF
##28792C1.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)
#7B6E23
Deuteranopia (green-blind)
#716732
Tritanopia (blue-blind)
#157669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #28792c;
/* rgb */ color: rgb(40, 121, 44);
/* oklch */ color: oklch(50.9% 0.137 144.0);
Tailwind
colors: {
  custom: {
    50: '#6da068',
    500: '#28792c',
    950: '#000000',
  },
}
SCSS
$custom: #28792c;
$custom-light: #6da068;
$custom-dark: #000000;
JSON
{
  "hex": "#28792c",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 122.963,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5094,
    "c": 0.13701,
    "h": 144
  },
  "luminance": 0.14308
}

Semantic roles & 50–950 ramp

primary
#28792C
secondary
#AB52A7
accent
#4ED3DA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F06
muted
#7A7E7A

Preview Lab

Preview with #28792C

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

Preview Lab → · Contrast checker → · Palette generator →

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