#28892F#28892F

#28892F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.155 H 144.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#28892F
RGBrgb(40, 137, 47)
HSLhsl(124, 55%, 35%)
HSVhsv(124, 71%, 54%)
CMYKcmyk(70.8%, 0%, 65.7%, 46.3%)
CIE-LABlab(50.15, -46.50, 39.13)
CIE-LCHlch(50.15, 60.78, 139.92°)
OKLaboklab(55.49% -0.1259 0.091)
OKLCHoklch(55.49% 0.155 144.1)
XYZxyz(10.3332, 18.5466, 5.7240)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28892F #892882
analogous
#528928 #28892F #288960
triadic
#28892F #2F2889 #892F28
tetradic
#28892F #285289 #892882 #896028
square
#28892F #285289 #892882 #896028
split-complementary
#28892F #602889 #892852
monochromatic
#0C2A0E #1A5A1F #28892F #36B83F #5CCF64

Accessibility & contrast

On white

4.46
#28892F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#28892F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28892F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28892F#FFFFFF#000000##000000
##28892F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C24
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#088576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28892f;
/* rgb */ color: rgb(40, 137, 47);
/* oklch */ color: oklch(55.5% 0.155 144.1);
Tailwind
colors: {
  custom: {
    50: '#70ac6b',
    500: '#28892f',
    950: '#000000',
  },
}
SCSS
$custom: #28892f;
$custom-light: #70ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#28892f",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 47
  },
  "hsl": {
    "h": 124.33,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55487,
    "c": 0.15538,
    "h": 144.1
  },
  "luminance": 0.18548
}

Semantic roles & 50–950 ramp

primary
#28892F
secondary
#B558AE
accent
#4AD3DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #28892F

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

Preview Lab → · Contrast checker → · Palette generator →

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