#28701E#28701E

#28701E is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.136 H 141.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#28701E
RGBrgb(40, 112, 30)
HSLhsl(113, 58%, 28%)
HSVhsv(113, 73%, 44%)
CMYKcmyk(64.3%, 0%, 73.2%, 56.1%)
CIE-LABlab(41.43, -38.91, 37.25)
CIE-LCHlch(41.43, 53.87, 136.25°)
OKLaboklab(48.22% -0.1063 0.085)
OKLCHoklch(48.22% 0.136 141.3)
XYZxyz(6.9032, 12.1325, 3.2061)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28701E #661E70
analogous
#51701E #28701E #1E703D
triadic
#28701E #1E2870 #701E28
tetradic
#28701E #1E5170 #661E70 #703D1E
square
#28701E #1E5170 #661E70 #703D1E
split-complementary
#28701E #3D1E70 #701E51
monochromatic
#091806 #174011 #28701E #39A02B #4FCB3D

Accessibility & contrast

On white

6.13
#28701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#28701E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28701E
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28701E#FFFFFF#000000##FFFFFF
##28701E1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736511
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#1C6C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #28701e;
/* rgb */ color: rgb(40, 112, 30);
/* oklch */ color: oklch(48.2% 0.136 141.3);
Tailwind
colors: {
  custom: {
    50: '#6c9a5f',
    500: '#28701e',
    950: '#000000',
  },
}
SCSS
$custom: #28701e;
$custom-light: #6c9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#28701e",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 112.683,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48217,
    "c": 0.13609,
    "h": 141.3
  },
  "luminance": 0.12133
}

Semantic roles & 50–950 ramp

primary
#28701E
secondary
#9946A4
accent
#47E1CE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #28701E

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

Preview Lab → · Contrast checker → · Palette generator →

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