#28801F#28801F

#28801F is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.156 H 141.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#28801F
RGBrgb(40, 128, 31)
HSLhsl(114, 61%, 31%)
HSVhsv(114, 76%, 50%)
CMYKcmyk(68.8%, 0%, 75.8%, 49.8%)
CIE-LABlab(46.96, -44.82, 42.53)
CIE-LCHlch(46.96, 61.79, 136.50°)
OKLaboklab(52.8% -0.1222 0.0962)
OKLCHoklch(52.8% 0.156 141.8)
XYZxyz(8.8411, 15.9875, 3.9160)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28801F #771F80
analogous
#58801F #28801F #1F8046
triadic
#28801F #1F2880 #801F28
tetradic
#28801F #1F5880 #771F80 #80461F
square
#28801F #1F5880 #771F80 #80461F
split-complementary
#28801F #461F80 #801F58
monochromatic
#091D07 #194F13 #28801F #37B12B #54D247

Accessibility & contrast

On white

5.00
#28801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#28801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28801F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28801F#FFFFFF#000000##FFFFFF
##28801F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740D
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#157C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #28801f;
/* rgb */ color: rgb(40, 128, 31);
/* oklch */ color: oklch(52.8% 0.156 141.8);
Tailwind
colors: {
  custom: {
    50: '#6fa661',
    500: '#28801f',
    950: '#000000',
  },
}
SCSS
$custom: #28801f;
$custom-light: #6fa661;
$custom-dark: #000000;
JSON
{
  "hex": "#28801f",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 114.433,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52798,
    "c": 0.15551,
    "h": 141.8
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#28801F
secondary
#A948B3
accent
#44E4D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #28801F

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

Preview Lab → · Contrast checker → · Palette generator →

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