#28583E#28583E

#28583E is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.9% C 0.069 H 157.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#28583E
RGBrgb(40, 88, 62)
HSLhsl(148, 38%, 25%)
HSVhsv(148, 55%, 35%)
CMYKcmyk(54.5%, 0%, 29.5%, 65.5%)
CIE-LABlab(33.52, -23.21, 10.20)
CIE-LCHlch(33.52, 25.35, 156.28°)
OKLaboklab(41.87% -0.0636 0.026)
OKLCHoklch(41.87% 0.069 157.8)
XYZxyz(5.2339, 7.7779, 5.7820)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28583E #582842
analogous
#2A5828 #28583E #285856
triadic
#28583E #3E2858 #583E28
tetradic
#28583E #282A58 #582842 #585628
square
#28583E #282A58 #582842 #585628
split-complementary
#28583E #562858 #58282A
monochromatic
#0A150F #152E20 #28583E #3B825C #4EAC79

Accessibility & contrast

On white

8.22
#28583E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#28583E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28583E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28583E#FFFFFF#000000##FFFFFF
##28583E1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57523C
Deuteranopia (green-blind)
#504D40
Tritanopia (blue-blind)
#1A5751
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #28583e;
/* rgb */ color: rgb(40, 88, 62);
/* oklch */ color: oklch(41.9% 0.069 157.8);
Tailwind
colors: {
  custom: {
    50: '#668773',
    500: '#28583e',
    950: '#000000',
  },
}
SCSS
$custom: #28583e;
$custom-light: #668773;
$custom-dark: #000000;
JSON
{
  "hex": "#28583e",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 62
  },
  "hsl": {
    "h": 147.5,
    "s": 37.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4187,
    "c": 0.06873,
    "h": 157.8
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#28583E
secondary
#8B5170
accent
#5A99CD
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #28583E

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

Preview Lab → · Contrast checker → · Palette generator →

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