#28901F#28901F

#28901F is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.3% C 0.174 H 142.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#28901F
RGBrgb(40, 144, 31)
HSLhsl(115, 65%, 34%)
HSVhsv(115, 78%, 56%)
CMYKcmyk(72.2%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.39, -50.43, 47.92)
CIE-LCHlch(52.39, 69.57, 136.46°)
OKLaboklab(57.3% -0.1374 0.1074)
OKLCHoklch(57.3% 0.174 142)
XYZxyz(11.0950, 20.4954, 4.6673)
Luminance0.2050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28901F #871F90
analogous
#61901F #28901F #1F904F
triadic
#28901F #1F2890 #901F28
tetradic
#28901F #1F6190 #871F90 #904F1F
square
#28901F #1F6190 #871F90 #904F1F
split-complementary
#28901F #4F1F90 #901F61
monochromatic
#0C2B09 #1A5E14 #28901F #36C22A #5BD950

Accessibility & contrast

On white

4.12
#28901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#28901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28901F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28901F#FFFFFF#000000##000000
##28901F1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#098B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #28901f;
/* rgb */ color: rgb(40, 144, 31);
/* oklch */ color: oklch(57.3% 0.174 142.0);
Tailwind
colors: {
  custom: {
    50: '#73b264',
    500: '#28901f',
    950: '#000000',
  },
}
SCSS
$custom: #28901f;
$custom-light: #73b264;
$custom-dark: #000000;
JSON
{
  "hex": "#28901f",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 115.221,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.1744,
    "h": 142
  },
  "luminance": 0.20497
}

Semantic roles & 50–950 ramp

primary
#28901F
secondary
#B44EBC
accent
#40E8DA
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #28901F

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

Preview Lab → · Contrast checker → · Palette generator →

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