#28892D#28892D

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

Color values

HEX#28892D
RGBrgb(40, 137, 45)
HSLhsl(123, 55%, 35%)
HSVhsv(123, 71%, 54%)
CMYKcmyk(70.8%, 0%, 67.2%, 46.3%)
CIE-LABlab(50.13, -46.73, 40.02)
CIE-LCHlch(50.13, 61.52, 139.42°)
OKLaboklab(55.47% -0.1266 0.0927)
OKLCHoklch(55.47% 0.157 143.8)
XYZxyz(10.2937, 18.5308, 5.5164)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28892D #892884
analogous
#538928 #28892D #28895E
triadic
#28892D #2D2889 #892D28
tetradic
#28892D #285389 #892884 #895E28
square
#28892D #285389 #892884 #895E28
split-complementary
#28892D #5E2889 #892853
monochromatic
#0C2A0E #1A5A1D #28892D #36B83D #5CCF62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28892D#FFFFFF#000000##000000
##28892D1.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)
#8C7C21
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#098576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28892d;
/* rgb */ color: rgb(40, 137, 45);
/* oklch */ color: oklch(55.5% 0.157 143.8);
Tailwind
colors: {
  custom: {
    50: '#71ac6a',
    500: '#28892d',
    950: '#000000',
  },
}
SCSS
$custom: #28892d;
$custom-light: #71ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#28892d",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 123.093,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.15692,
    "h": 143.8
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#28892D
secondary
#B558B0
accent
#4AD6DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #28892D

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

Preview Lab → · Contrast checker → · Palette generator →

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