#28702E#28702E

#28702E is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.123 H 144.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#28702E
RGBrgb(40, 112, 46)
HSLhsl(125, 47%, 30%)
HSVhsv(125, 64%, 44%)
CMYKcmyk(64.3%, 0%, 58.9%, 56.1%)
CIE-LABlab(41.59, -37.04, 29.79)
CIE-LCHlch(41.59, 47.54, 141.19°)
OKLaboklab(48.4% -0.1003 0.0709)
OKLCHoklch(48.4% 0.123 144.8)
XYZxyz(7.1619, 12.2360, 4.5686)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28702E #70286A
analogous
#467028 #28702E #287052
triadic
#28702E #2E2870 #702E28
tetradic
#28702E #284670 #70286A #705228
square
#28702E #284670 #70286A #705228
split-complementary
#28702E #522870 #702846
monochromatic
#081709 #18431B #28702E #389D41 #51C15B

Accessibility & contrast

On white

6.09
#28702E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#28702E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28702E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28702E#FFFFFF#000000##FFFFFF
##28702E1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726628
Deuteranopia (green-blind)
#696033
Tritanopia (blue-blind)
#186D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #28702e;
/* rgb */ color: rgb(40, 112, 46);
/* oklch */ color: oklch(48.4% 0.123 144.8);
Tailwind
colors: {
  custom: {
    50: '#6b9a69',
    500: '#28702e',
    950: '#000000',
  },
}
SCSS
$custom: #28702e;
$custom-light: #6b9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#28702e",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 125,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48404,
    "c": 0.12283,
    "h": 144.8
  },
  "luminance": 0.12237
}

Semantic roles & 50–950 ramp

primary
#28702E
secondary
#A2519C
accent
#51CCD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28702E

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

Preview Lab → · Contrast checker → · Palette generator →

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