#28792D#28792D

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

Color values

HEX#28792D
RGBrgb(40, 121, 45)
HSLhsl(124, 50%, 32%)
HSVhsv(124, 67%, 47%)
CMYKcmyk(66.9%, 0%, 62.8%, 52.5%)
CIE-LABlab(44.68, -40.75, 33.90)
CIE-LCHlch(44.68, 53.01, 140.24°)
OKLaboklab(50.95% -0.1104 0.0797)
OKLCHoklch(50.95% 0.136 144.2)
XYZxyz(8.1856, 14.3145, 4.8137)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28792D #792874
analogous
#4C7928 #28792D #287956
triadic
#28792D #2D2879 #792D28
tetradic
#28792D #284C79 #792874 #795628
square
#28792D #284C79 #792874 #795628
split-complementary
#28792D #562879 #79284C
monochromatic
#0A1D0B #194B1C #28792D #37A73E #55C75C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28792D#FFFFFF#000000##FFFFFF
##28792D1.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)
#7B6E25
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#157669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #28792d;
/* rgb */ color: rgb(40, 121, 45);
/* oklch */ color: oklch(51.0% 0.136 144.2);
Tailwind
colors: {
  custom: {
    50: '#6da069',
    500: '#28792d',
    950: '#000000',
  },
}
SCSS
$custom: #28792d;
$custom-light: #6da069;
$custom-dark: #000000;
JSON
{
  "hex": "#28792d",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 123.704,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.13615,
    "h": 144.2
  },
  "luminance": 0.14315
}

Semantic roles & 50–950 ramp

primary
#28792D
secondary
#AB52A5
accent
#4ED1DA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F06
muted
#7A7E7A

Preview Lab

Preview with #28792D

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

Preview Lab → · Contrast checker → · Palette generator →

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