#28701C#28701C

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

Color values

HEX#28701C
RGBrgb(40, 112, 28)
HSLhsl(111, 60%, 27%)
HSVhsv(111, 75%, 44%)
CMYKcmyk(64.3%, 0%, 75%, 56.1%)
CIE-LABlab(41.41, -39.09, 38.07)
CIE-LCHlch(41.41, 54.57, 135.76°)
OKLaboklab(48.2% -0.1069 0.0864)
OKLCHoklch(48.2% 0.137 141)
XYZxyz(6.8785, 12.1226, 3.0758)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28701C #641C70
analogous
#52701C #28701C #1C703A
triadic
#28701C #1C2870 #701C28
tetradic
#28701C #1C5270 #641C70 #703A1C
square
#28701C #1C5270 #641C70 #703A1C
split-complementary
#28701C #3A1C70 #701C52
monochromatic
#091806 #173F10 #28701C #39A128 #4ECD39

Accessibility & contrast

On white

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

On black

3.42
#28701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##28701C#FFFFFF#000000##FFFFFF
##28701C1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650E
Deuteranopia (green-blind)
#6A5F24
Tritanopia (blue-blind)
#1D6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #28701c;
/* rgb */ color: rgb(40, 112, 28);
/* oklch */ color: oklch(48.2% 0.137 141.0);
Tailwind
colors: {
  custom: {
    50: '#6c9a5e',
    500: '#28701c',
    950: '#000000',
  },
}
SCSS
$custom: #28701c;
$custom-light: #6c9a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#28701c",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 111.429,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48199,
    "c": 0.13747,
    "h": 141
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#28701C
secondary
#9743A5
accent
#45E3CD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #28701C

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

Preview Lab → · Contrast checker → · Palette generator →

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