#28501A#28501A

#28501A is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.094 H 138.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#28501A
RGBrgb(40, 80, 26)
HSLhsl(104, 51%, 21%)
HSVhsv(104, 68%, 31%)
CMYKcmyk(50%, 0%, 67.5%, 68.6%)
CIE-LABlab(30.07, -25.66, 26.84)
CIE-LCHlch(30.07, 37.14, 133.71°)
OKLaboklab(38.85% -0.0706 0.0625)
OKLCHoklch(38.85% 0.094 138.5)
XYZxyz(3.9300, 6.2628, 1.9788)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28501A #421A50
analogous
#43501A #28501A #1A5027
triadic
#28501A #1A2850 #501A28
tetradic
#28501A #1A4350 #421A50 #50271A
square
#28501A #1A4350 #421A50 #50271A
split-complementary
#28501A #271A50 #501A43
monochromatic
#0C1708 #11220B #28501A #3F7E29 #56AC38

Accessibility & contrast

On white

9.32
#28501A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#28501A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28501A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28501A#FFFFFF#000000##FFFFFF
##28501A1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534914
Deuteranopia (green-blind)
#4D461E
Tritanopia (blue-blind)
#254D45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28501a;
/* rgb */ color: rgb(40, 80, 26);
/* oklch */ color: oklch(38.8% 0.094 138.5);
Tailwind
colors: {
  custom: {
    50: '#668159',
    500: '#28501a',
    950: '#000000',
  },
}
SCSS
$custom: #28501a;
$custom-light: #668159;
$custom-dark: #000000;
JSON
{
  "hex": "#28501a",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 26
  },
  "hsl": {
    "h": 104.444,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38848,
    "c": 0.09433,
    "h": 138.5
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#28501A
secondary
#744086
accent
#4DDAB6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #28501A

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

Preview Lab → · Contrast checker → · Palette generator →

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