#28791E#28791E

#28791E is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.148 H 141.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#28791E
RGBrgb(40, 121, 30)
HSLhsl(113, 60%, 30%)
HSVhsv(113, 75%, 47%)
CMYKcmyk(66.9%, 0%, 75.2%, 52.5%)
CIE-LABlab(44.55, -42.34, 40.47)
CIE-LCHlch(44.55, 58.57, 136.29°)
OKLaboklab(50.8% -0.1155 0.0917)
OKLCHoklch(50.8% 0.148 141.6)
XYZxyz(7.9464, 14.2188, 3.5538)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28791E #6F1E79
analogous
#55791E #28791E #1E7942
triadic
#28791E #1E2879 #791E28
tetradic
#28791E #1E5579 #6F1E79 #79421E
square
#28791E #1E5579 #6F1E79 #79421E
split-complementary
#28791E #421E79 #791E55
monochromatic
#081906 #184812 #28791E #38AA2A #51D041

Accessibility & contrast

On white

5.46
#28791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#28791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28791E
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28791E#FFFFFF#000000##FFFFFF
##28791E1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#197567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #28791e;
/* rgb */ color: rgb(40, 121, 30);
/* oklch */ color: oklch(50.8% 0.148 141.6);
Tailwind
colors: {
  custom: {
    50: '#6ea160',
    500: '#28791e',
    950: '#000000',
  },
}
SCSS
$custom: #28791e;
$custom-light: #6ea160;
$custom-dark: #000000;
JSON
{
  "hex": "#28791e",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 113.407,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50797,
    "c": 0.14753,
    "h": 141.6
  },
  "luminance": 0.1422
}

Semantic roles & 50–950 ramp

primary
#28791E
secondary
#A146AD
accent
#44E3D2
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #28791E

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

Preview Lab → · Contrast checker → · Palette generator →

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