#28551B#28551B

#28551B is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.3% C 0.101 H 139.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#28551B
RGBrgb(40, 85, 27)
HSLhsl(107, 52%, 22%)
HSVhsv(107, 68%, 33%)
CMYKcmyk(52.9%, 0%, 68.2%, 66.7%)
CIE-LABlab(31.87, -27.87, 28.35)
CIE-LCHlch(31.87, 39.75, 134.52°)
OKLaboklab(40.33% -0.0766 0.0658)
OKLCHoklch(40.33% 0.101 139.3)
XYZxyz(4.3212, 7.0269, 2.1653)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28551B #481B55
analogous
#45551B #28551B #1B552B
triadic
#28551B #1B2855 #551B28
tetradic
#28551B #1B4555 #481B55 #552B1B
square
#28551B #1B4555 #481B55 #552B1B
split-complementary
#28551B #2B1B55 #551B45
monochromatic
#0B1707 #12270C #28551B #3E832A #54B239

Accessibility & contrast

On white

8.73
#28551B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#28551B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28551B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28551B#FFFFFF#000000##FFFFFF
##28551B1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D14
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#245249
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28551b;
/* rgb */ color: rgb(40, 85, 27);
/* oklch */ color: oklch(40.3% 0.101 139.3);
Tailwind
colors: {
  custom: {
    50: '#67855a',
    500: '#28551b',
    950: '#000000',
  },
}
SCSS
$custom: #28551b;
$custom-light: #67855a;
$custom-dark: #000000;
JSON
{
  "hex": "#28551b",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 27
  },
  "hsl": {
    "h": 106.552,
    "s": 51.786,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4033,
    "c": 0.10098,
    "h": 139.3
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#28551B
secondary
#7A418B
accent
#4DDBBB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28551B

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

Preview Lab → · Contrast checker → · Palette generator →

#28551B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva