#28921F#28921F

#28921F is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.9% C 0.177 H 142.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#28921F
RGBrgb(40, 146, 31)
HSLhsl(115, 65%, 35%)
HSVhsv(115, 79%, 57%)
CMYKcmyk(72.6%, 0%, 78.8%, 42.7%)
CIE-LABlab(53.07, -51.11, 48.58)
CIE-LCHlch(53.07, 70.52, 136.46°)
OKLaboklab(57.86% -0.1392 0.1088)
OKLCHoklch(57.86% 0.177 142)
XYZxyz(11.4006, 21.1066, 4.7692)
Luminance0.2111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28921F #891F92
analogous
#62921F #28921F #1F924F
triadic
#28921F #1F2892 #921F28
tetradic
#28921F #1F6292 #891F92 #924F1F
square
#28921F #1F6292 #891F92 #924F1F
split-complementary
#28921F #4F1F92 #921F62
monochromatic
#0C2D0A #1A6014 #28921F #36C42A #5CDA51

Accessibility & contrast

On white

4.02
#28921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#28921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28921F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28921F#FFFFFF#000000##000000
##28921F1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#897C2C
Tritanopia (blue-blind)
#078D7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #28921f;
/* rgb */ color: rgb(40, 146, 31);
/* oklch */ color: oklch(57.9% 0.177 142.0);
Tailwind
colors: {
  custom: {
    50: '#73b364',
    500: '#28921f',
    950: '#000000',
  },
}
SCSS
$custom: #28921f;
$custom-light: #73b364;
$custom-dark: #000000;
JSON
{
  "hex": "#28921f",
  "rgb": {
    "r": 40,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 115.304,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57864,
    "c": 0.17668,
    "h": 142
  },
  "luminance": 0.21108
}

Semantic roles & 50–950 ramp

primary
#28921F
secondary
#B550BD
accent
#40E8DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #28921F

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

Preview Lab → · Contrast checker → · Palette generator →

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