#28702B#28702B

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

Color values

HEX#28702B
RGBrgb(40, 112, 43)
HSLhsl(123, 47%, 30%)
HSVhsv(123, 64%, 44%)
CMYKcmyk(64.3%, 0%, 61.6%, 56.1%)
CIE-LABlab(41.55, -37.45, 31.29)
CIE-LCHlch(41.55, 48.80, 140.12°)
OKLaboklab(48.36% -0.1016 0.0738)
OKLCHoklch(48.36% 0.126 144)
XYZxyz(7.1049, 12.2132, 4.2680)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28702B #70286D
analogous
#497028 #28702B #28704F
triadic
#28702B #2B2870 #702B28
tetradic
#28702B #284970 #70286D #704F28
square
#28702B #284970 #70286D #704F28
split-complementary
#28702B #4F2870 #702849
monochromatic
#081709 #18431A #28702B #389D3C #51C156

Accessibility & contrast

On white

6.10
#28702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#28702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28702B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28702B#FFFFFF#000000##FFFFFF
##28702B1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726624
Deuteranopia (green-blind)
#696030
Tritanopia (blue-blind)
#196D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #28702b;
/* rgb */ color: rgb(40, 112, 43);
/* oklch */ color: oklch(48.4% 0.126 144.0);
Tailwind
colors: {
  custom: {
    50: '#6b9a67',
    500: '#28702b',
    950: '#000000',
  },
}
SCSS
$custom: #28702b;
$custom-light: #6b9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#28702b",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 122.5,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48362,
    "c": 0.12558,
    "h": 144
  },
  "luminance": 0.12214
}

Semantic roles & 50–950 ramp

primary
#28702B
secondary
#A2519F
accent
#51D1D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28702B

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

Preview Lab → · Contrast checker → · Palette generator →

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