#28892C#28892C

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

Color values

HEX#28892C
RGBrgb(40, 137, 44)
HSLhsl(122, 55%, 35%)
HSVhsv(122, 71%, 54%)
CMYKcmyk(70.8%, 0%, 67.9%, 46.3%)
CIE-LABlab(50.12, -46.84, 40.45)
CIE-LCHlch(50.12, 61.89, 139.18°)
OKLaboklab(55.46% -0.127 0.0935)
OKLCHoklch(55.46% 0.158 143.6)
XYZxyz(10.2747, 18.5232, 5.4162)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28892C #892885
analogous
#558928 #28892C #28895C
triadic
#28892C #2C2889 #892C28
tetradic
#28892C #285589 #892885 #895C28
square
#28892C #285589 #892885 #895C28
split-complementary
#28892C #5C2889 #892855
monochromatic
#0C2A0E #1A5A1D #28892C #36B83B #5CCF61

Accessibility & contrast

On white

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

On black

4.70
#28892C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28892C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28892C#FFFFFF#000000##000000
##28892C1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C20
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#0A8576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28892c;
/* rgb */ color: rgb(40, 137, 44);
/* oklch */ color: oklch(55.5% 0.158 143.6);
Tailwind
colors: {
  custom: {
    50: '#71ac6a',
    500: '#28892c',
    950: '#000000',
  },
}
SCSS
$custom: #28892c;
$custom-light: #71ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#28892c",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 44
  },
  "hsl": {
    "h": 122.474,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55455,
    "c": 0.15767,
    "h": 143.6
  },
  "luminance": 0.18524
}

Semantic roles & 50–950 ramp

primary
#28892C
secondary
#B558B1
accent
#4AD8DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #28892C

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

Preview Lab → · Contrast checker → · Palette generator →

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