#28783E#28783E

#28783E is a mid, moderate green. Relative luminance 0.142; OKLCH L 50.9% C 0.119 H 149.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#28783E
RGBrgb(40, 120, 62)
HSLhsl(137, 50%, 31%)
HSVhsv(137, 67%, 47%)
CMYKcmyk(66.7%, 0%, 48.3%, 52.9%)
CIE-LABlab(44.56, -37.80, 24.84)
CIE-LCHlch(44.56, 45.23, 146.68°)
OKLaboklab(50.93% -0.102 0.0608)
OKLCHoklch(50.93% 0.119 149.2)
XYZxyz(8.4604, 14.2310, 6.8575)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28783E #782862
analogous
#3A7828 #28783E #287866
triadic
#28783E #3E2878 #783E28
tetradic
#28783E #283A78 #782862 #786628
square
#28783E #283A78 #782862 #786628
split-complementary
#28783E #662878 #78283A
monochromatic
#091C0F #194A26 #28783E #37A656 #54C674

Accessibility & contrast

On white

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

On black

3.85
#28783E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##28783E#FFFFFF#000000##FFFFFF
##28783E1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E39
Deuteranopia (green-blind)
#6F6742
Tritanopia (blue-blind)
#0C766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #28783e;
/* rgb */ color: rgb(40, 120, 62);
/* oklch */ color: oklch(50.9% 0.119 149.2);
Tailwind
colors: {
  custom: {
    50: '#6ca074',
    500: '#28783e',
    950: '#000000',
  },
}
SCSS
$custom: #28783e;
$custom-light: #6ca074;
$custom-dark: #000000;
JSON
{
  "hex": "#28783e",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 62
  },
  "hsl": {
    "h": 136.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50928,
    "c": 0.11873,
    "h": 149.2
  },
  "luminance": 0.14232
}

Semantic roles & 50–950 ramp

primary
#28783E
secondary
#AA5292
accent
#4EB3DA
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #28783E

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

Preview Lab → · Contrast checker → · Palette generator →

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