#28902F#28902F

#28902F is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.4% C 0.164 H 144.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#28902F
RGBrgb(40, 144, 47)
HSLhsl(124, 57%, 36%)
HSVhsv(124, 72%, 56%)
CMYKcmyk(72.2%, 0%, 67.4%, 43.5%)
CIE-LABlab(52.51, -49.01, 41.73)
CIE-LCHlch(52.51, 64.37, 139.58°)
OKLaboklab(57.44% -0.1327 0.0966)
OKLCHoklch(57.44% 0.164 144)
XYZxyz(11.3607, 20.6016, 6.0666)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28902F #902889
analogous
#559028 #28902F #289063
triadic
#28902F #2F2890 #902F28
tetradic
#28902F #285590 #902889 #906328
square
#28902F #285590 #902889 #906328
split-complementary
#28902F #632890 #902855
monochromatic
#0D3010 #1B601F #28902F #35C03F #60D367

Accessibility & contrast

On white

4.10
#28902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#28902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28902F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28902F#FFFFFF#000000##000000
##28902F1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938223
Deuteranopia (green-blind)
#877A38
Tritanopia (blue-blind)
#018C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #28902f;
/* rgb */ color: rgb(40, 144, 47);
/* oklch */ color: oklch(57.4% 0.164 144.0);
Tailwind
colors: {
  custom: {
    50: '#72b26c',
    500: '#28902f',
    950: '#000000',
  },
}
SCSS
$custom: #28902f;
$custom-light: #72b26c;
$custom-dark: #000000;
JSON
{
  "hex": "#28902f",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 124.038,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57441,
    "c": 0.16412,
    "h": 144
  },
  "luminance": 0.20603
}

Semantic roles & 50–950 ramp

primary
#28902F
secondary
#B85CB2
accent
#48D6E0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28902F

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

Preview Lab → · Contrast checker → · Palette generator →

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