#28593F#28593F

#28593F is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.2% C 0.069 H 158.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#28593F
RGBrgb(40, 89, 63)
HSLhsl(148, 38%, 25%)
HSVhsv(148, 55%, 35%)
CMYKcmyk(55.1%, 0%, 29.2%, 65.1%)
CIE-LABlab(33.89, -23.48, 10.09)
CIE-LCHlch(33.89, 25.56, 156.74°)
OKLaboklab(42.18% -0.0644 0.0257)
OKLCHoklch(42.18% 0.069 158.2)
XYZxyz(5.3442, 7.9543, 5.9554)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28593F #592842
analogous
#2A5928 #28593F #285957
triadic
#28593F #3F2859 #593F28
tetradic
#28593F #282A59 #592842 #595728
square
#28593F #282A59 #592842 #595728
split-complementary
#28593F #572859 #59282A
monochromatic
#09150F #152F21 #28593F #3B835D #4EAD7B

Accessibility & contrast

On white

8.10
#28593F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#28593F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28593F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28593F#FFFFFF#000000##FFFFFF
##28593F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58533D
Deuteranopia (green-blind)
#514E41
Tritanopia (blue-blind)
#1A5852
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #28593f;
/* rgb */ color: rgb(40, 89, 63);
/* oklch */ color: oklch(42.2% 0.069 158.2);
Tailwind
colors: {
  custom: {
    50: '#668874',
    500: '#28593f',
    950: '#000000',
  },
}
SCSS
$custom: #28593f;
$custom-light: #668874;
$custom-dark: #000000;
JSON
{
  "hex": "#28593f",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 63
  },
  "hsl": {
    "h": 148.163,
    "s": 37.984,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42181,
    "c": 0.06936,
    "h": 158.2
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#28593F
secondary
#8C5170
accent
#5A97CE
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #28593F

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

Preview Lab → · Contrast checker → · Palette generator →

#28593F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva