#28531A#28531A

#28531A is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.099 H 138.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#28531A
RGBrgb(40, 83, 26)
HSLhsl(105, 52%, 21%)
HSVhsv(105, 69%, 33%)
CMYKcmyk(51.8%, 0%, 68.7%, 67.5%)
CIE-LABlab(31.14, -27.07, 28.04)
CIE-LCHlch(31.14, 38.97, 133.99°)
OKLaboklab(39.73% -0.0745 0.0651)
OKLCHoklch(39.73% 0.099 138.9)
XYZxyz(4.1546, 6.7119, 2.0537)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28531A #451A53
analogous
#45531A #28531A #1A5329
triadic
#28531A #1A2853 #531A28
tetradic
#28531A #1A4553 #451A53 #53291A
square
#28531A #1A4553 #451A53 #53291A
split-complementary
#28531A #291A53 #531A45
monochromatic
#0B1707 #12240B #28531A #3E8229 #55B037

Accessibility & contrast

On white

8.97
#28531A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#28531A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28531A
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28531A#FFFFFF#000000##FFFFFF
##28531A1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C13
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#255047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28531a;
/* rgb */ color: rgb(40, 83, 26);
/* oklch */ color: oklch(39.7% 0.099 138.9);
Tailwind
colors: {
  custom: {
    50: '#668459',
    500: '#28531a',
    950: '#000000',
  },
}
SCSS
$custom: #28531a;
$custom-light: #668459;
$custom-dark: #000000;
JSON
{
  "hex": "#28531a",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 26
  },
  "hsl": {
    "h": 105.263,
    "s": 52.294,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39731,
    "c": 0.09888,
    "h": 138.9
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#28531A
secondary
#774089
accent
#4CDCB8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28531A

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

Preview Lab → · Contrast checker → · Palette generator →

#28531A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva