#28512E#28512E

#28512E is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.5% C 0.075 H 147.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#28512E
RGBrgb(40, 81, 46)
HSLhsl(129, 34%, 24%)
HSVhsv(129, 51%, 32%)
CMYKcmyk(50.6%, 0%, 43.2%, 68.2%)
CIE-LABlab(30.72, -23.07, 16.25)
CIE-LCHlch(30.72, 28.22, 144.84°)
OKLaboklab(39.48% -0.0627 0.0403)
OKLCHoklch(39.48% 0.075 147.3)
XYZxyz(4.3104, 6.5329, 3.6181)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28512E #51284B
analogous
#365128 #28512E #285142
triadic
#28512E #2E2851 #512E28
tetradic
#28512E #283651 #51284B #514228
square
#28512E #283651 #51284B #514228
split-complementary
#28512E #422851 #512836
monochromatic
#0A140C #142817 #28512E #3C7A45 #50A35D

Accessibility & contrast

On white

9.10
#28512E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#28512E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28512E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28512E#FFFFFF#000000##FFFFFF
##28512E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2C
Deuteranopia (green-blind)
#4C4730
Tritanopia (blue-blind)
#214F48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28512e;
/* rgb */ color: rgb(40, 81, 46);
/* oklch */ color: oklch(39.5% 0.075 147.3);
Tailwind
colors: {
  custom: {
    50: '#658267',
    500: '#28512e',
    950: '#000000',
  },
}
SCSS
$custom: #28512e;
$custom-light: #658267;
$custom-dark: #000000;
JSON
{
  "hex": "#28512e",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 128.78,
    "s": 33.884,
    "l": 23.725
  },
  "oklch": {
    "l": 0.39479,
    "c": 0.07454,
    "h": 147.3
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#28512E
secondary
#84517C
accent
#5EBACA
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #28512E

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

Preview Lab → · Contrast checker → · Palette generator →

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