#28792A#28792A

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

Color values

HEX#28792A
RGBrgb(40, 121, 42)
HSLhsl(121, 50%, 32%)
HSVhsv(121, 67%, 47%)
CMYKcmyk(66.9%, 0%, 65.3%, 52.5%)
CIE-LABlab(44.65, -41.12, 35.32)
CIE-LCHlch(44.65, 54.20, 139.34°)
OKLaboklab(50.92% -0.1116 0.0824)
OKLCHoklch(50.92% 0.139 143.6)
XYZxyz(8.1299, 14.2922, 4.5203)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28792A #792877
analogous
#4F7928 #28792A #287953
triadic
#28792A #2A2879 #792A28
tetradic
#28792A #284F79 #792877 #795328
square
#28792A #284F79 #792877 #795328
split-complementary
#28792A #532879 #79284F
monochromatic
#0A1D0A #194B1A #28792A #37A73A #55C758

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28792A#FFFFFF#000000##FFFFFF
##28792A1.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)
#7B6E21
Deuteranopia (green-blind)
#726731
Tritanopia (blue-blind)
#167668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #28792a;
/* rgb */ color: rgb(40, 121, 42);
/* oklch */ color: oklch(50.9% 0.139 143.6);
Tailwind
colors: {
  custom: {
    50: '#6da067',
    500: '#28792a',
    950: '#000000',
  },
}
SCSS
$custom: #28792a;
$custom-light: #6da067;
$custom-dark: #000000;
JSON
{
  "hex": "#28792a",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 121.481,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50916,
    "c": 0.13867,
    "h": 143.6
  },
  "luminance": 0.14293
}

Semantic roles & 50–950 ramp

primary
#28792A
secondary
#AB52A9
accent
#4ED6DA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F06
muted
#7A7E7A

Preview Lab

Preview with #28792A

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

Preview Lab → · Contrast checker → · Palette generator →

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