#28592F#28592F

#28592F is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.8% C 0.087 H 146.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#28592F
RGBrgb(40, 89, 47)
HSLhsl(129, 38%, 25%)
HSVhsv(129, 55%, 35%)
CMYKcmyk(55.1%, 0%, 47.2%, 65.1%)
CIE-LABlab(33.56, -26.79, 19.34)
CIE-LCHlch(33.56, 33.04, 144.17°)
OKLaboklab(41.81% -0.0727 0.0475)
OKLCHoklch(41.81% 0.087 146.8)
XYZxyz(4.9602, 7.8007, 3.9331)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28592F #592852
analogous
#3A5928 #28592F #285947
triadic
#28592F #2F2859 #592F28
tetradic
#28592F #283A59 #592852 #594728
square
#28592F #283A59 #592852 #594728
split-complementary
#28592F #472859 #59283A
monochromatic
#09150B #152F19 #28592F #3B8345 #4EAD5C

Accessibility & contrast

On white

8.20
#28592F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#28592F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28592F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28592F#FFFFFF#000000##FFFFFF
##28592F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522C
Deuteranopia (green-blind)
#534D32
Tritanopia (blue-blind)
#1F574F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #28592f;
/* rgb */ color: rgb(40, 89, 47);
/* oklch */ color: oklch(41.8% 0.087 146.8);
Tailwind
colors: {
  custom: {
    50: '#668868',
    500: '#28592f',
    950: '#000000',
  },
}
SCSS
$custom: #28592f;
$custom-light: #668868;
$custom-dark: #000000;
JSON
{
  "hex": "#28592f",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 47
  },
  "hsl": {
    "h": 128.571,
    "s": 37.984,
    "l": 25.294
  },
  "oklch": {
    "l": 0.41811,
    "c": 0.08684,
    "h": 146.8
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#28592F
secondary
#8C5183
accent
#5ABDCE
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #28592F

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

Preview Lab → · Contrast checker → · Palette generator →

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