#28703E#28703E

#28703E is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.107 H 150.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#28703E
RGBrgb(40, 112, 62)
HSLhsl(138, 47%, 30%)
HSVhsv(138, 64%, 44%)
CMYKcmyk(64.3%, 0%, 44.6%, 56.1%)
CIE-LABlab(41.82, -34.42, 21.33)
CIE-LCHlch(41.82, 40.49, 148.21°)
OKLaboklab(48.67% -0.093 0.0527)
OKLCHoklch(48.67% 0.107 150.5)
XYZxyz(7.5382, 12.3865, 6.5501)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28703E #70285A
analogous
#367028 #28703E #287062
triadic
#28703E #3E2870 #703E28
tetradic
#28703E #283670 #70285A #706228
square
#28703E #283670 #70285A #706228
split-complementary
#28703E #622870 #702836
monochromatic
#08170C #184325 #28703E #389D57 #51C173

Accessibility & contrast

On white

6.04
#28703E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#28703E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28703E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28703E#FFFFFF#000000##FFFFFF
##28703E1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673A
Deuteranopia (green-blind)
#676041
Tritanopia (blue-blind)
#116E64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #28703e;
/* rgb */ color: rgb(40, 112, 62);
/* oklch */ color: oklch(48.7% 0.107 150.5);
Tailwind
colors: {
  custom: {
    50: '#6a9a74',
    500: '#28703e',
    950: '#000000',
  },
}
SCSS
$custom: #28703e;
$custom-light: #6a9a74;
$custom-dark: #000000;
JSON
{
  "hex": "#28703e",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 62
  },
  "hsl": {
    "h": 138.333,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48674,
    "c": 0.10689,
    "h": 150.5
  },
  "luminance": 0.12387
}

Semantic roles & 50–950 ramp

primary
#28703E
secondary
#A2518A
accent
#51AED7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #28703E

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

Preview Lab → · Contrast checker → · Palette generator →

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