#28583C#28583C

#28583C is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.8% C 0.071 H 156.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#28583C
RGBrgb(40, 88, 60)
HSLhsl(145, 38%, 25%)
HSVhsv(145, 55%, 35%)
CMYKcmyk(54.5%, 0%, 31.8%, 65.5%)
CIE-LABlab(33.47, -23.67, 11.37)
CIE-LCHlch(33.47, 26.25, 154.34°)
OKLaboklab(41.82% -0.0647 0.0289)
OKLCHoklch(41.82% 0.071 156)
XYZxyz(5.1800, 7.7564, 5.4983)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28583C #582844
analogous
#2C5828 #28583C #285854
triadic
#28583C #3C2858 #583C28
tetradic
#28583C #282C58 #582844 #585428
square
#28583C #282C58 #582844 #585428
split-complementary
#28583C #542858 #58282C
monochromatic
#0A150E #152E1F #28583C #3B8259 #4EAC75

Accessibility & contrast

On white

8.23
#28583C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#28583C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28583C
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28583C#FFFFFF#000000##FFFFFF
##28583C1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58523A
Deuteranopia (green-blind)
#514D3E
Tritanopia (blue-blind)
#1B5751
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #28583c;
/* rgb */ color: rgb(40, 88, 60);
/* oklch */ color: oklch(41.8% 0.071 156.0);
Tailwind
colors: {
  custom: {
    50: '#668771',
    500: '#28583c',
    950: '#000000',
  },
}
SCSS
$custom: #28583c;
$custom-light: #668771;
$custom-dark: #000000;
JSON
{
  "hex": "#28583c",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 60
  },
  "hsl": {
    "h": 145,
    "s": 37.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.41818,
    "c": 0.07083,
    "h": 156
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#28583C
secondary
#8B5173
accent
#5A9DCD
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#060B07
muted
#7A7C7A

Preview Lab

Preview with #28583C

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

Preview Lab → · Contrast checker → · Palette generator →

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