#28702C#28702C

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

Color values

HEX#28702C
RGBrgb(40, 112, 44)
HSLhsl(123, 47%, 30%)
HSVhsv(123, 64%, 44%)
CMYKcmyk(64.3%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.56, -37.32, 30.80)
CIE-LCHlch(41.56, 48.38, 140.47°)
OKLaboklab(48.38% -0.1012 0.0729)
OKLCHoklch(48.38% 0.125 144.2)
XYZxyz(7.1234, 12.2206, 4.3658)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28702C #70286C
analogous
#487028 #28702C #287050
triadic
#28702C #2C2870 #702C28
tetradic
#28702C #284870 #70286C #705028
square
#28702C #284870 #70286C #705028
split-complementary
#28702C #502870 #702848
monochromatic
#081709 #18431A #28702C #389D3E #51C158

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28702C#FFFFFF#000000##FFFFFF
##28702C1.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)
#726625
Deuteranopia (green-blind)
#696031
Tritanopia (blue-blind)
#196D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #28702c;
/* rgb */ color: rgb(40, 112, 44);
/* oklch */ color: oklch(48.4% 0.125 144.2);
Tailwind
colors: {
  custom: {
    50: '#6b9a67',
    500: '#28702c',
    950: '#000000',
  },
}
SCSS
$custom: #28702c;
$custom-light: #6b9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#28702c",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 123.333,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48376,
    "c": 0.12467,
    "h": 144.2
  },
  "luminance": 0.12221
}

Semantic roles & 50–950 ramp

primary
#28702C
secondary
#A2519E
accent
#51D0D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28702C

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

Preview Lab → · Contrast checker → · Palette generator →

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