#28701F#28701F

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

Color values

HEX#28701F
RGBrgb(40, 112, 31)
HSLhsl(113, 57%, 28%)
HSVhsv(113, 72%, 44%)
CMYKcmyk(64.3%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.43, -38.82, 36.83)
CIE-LCHlch(41.43, 53.51, 136.51°)
OKLaboklab(48.23% -0.106 0.0843)
OKLCHoklch(48.23% 0.135 141.5)
XYZxyz(6.9162, 12.1377, 3.2744)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28701F #671F70
analogous
#50701F #28701F #1F703E
triadic
#28701F #1F2870 #701F28
tetradic
#28701F #1F5070 #671F70 #703E1F
square
#28701F #1F5070 #671F70 #703E1F
split-complementary
#28701F #3E1F70 #701F50
monochromatic
#091807 #174012 #28701F #39A02C #4FCA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28701F#FFFFFF#000000##FFFFFF
##28701F1.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)
#736513
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#1C6C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #28701f;
/* rgb */ color: rgb(40, 112, 31);
/* oklch */ color: oklch(48.2% 0.135 141.5);
Tailwind
colors: {
  custom: {
    50: '#6c9a5f',
    500: '#28701f',
    950: '#000000',
  },
}
SCSS
$custom: #28701f;
$custom-light: #6c9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#28701f",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 113.333,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.13537,
    "h": 141.5
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#28701F
secondary
#9A47A4
accent
#48E0CF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #28701F

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

Preview Lab → · Contrast checker → · Palette generator →

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