#28841C#28841C

#28841C is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.162 H 141.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#28841C
RGBrgb(40, 132, 28)
HSLhsl(113, 65%, 31%)
HSVhsv(113, 79%, 52%)
CMYKcmyk(69.7%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.31, -46.49, 44.97)
CIE-LCHlch(48.31, 64.68, 135.95°)
OKLaboklab(53.91% -0.1269 0.1009)
OKLCHoklch(53.91% 0.162 141.5)
XYZxyz(9.3354, 17.0365, 3.8948)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28841C #781C84
analogous
#5C841C #28841C #1C8444
triadic
#28841C #1C2884 #841C28
tetradic
#28841C #1C5C84 #781C84 #84441C
square
#28841C #1C5C84 #781C84 #84441C
split-complementary
#28841C #441C84 #841C5C
monochromatic
#091F07 #195211 #28841C #37B627 #54D743

Accessibility & contrast

On white

4.76
#28841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#28841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28841C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28841C#FFFFFF#000000##FFFFFF
##28841C1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877703
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#148070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #28841c;
/* rgb */ color: rgb(40, 132, 28);
/* oklch */ color: oklch(53.9% 0.162 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a961',
    500: '#28841c',
    950: '#000000',
  },
}
SCSS
$custom: #28841c;
$custom-light: #70a961;
$custom-dark: #000000;
JSON
{
  "hex": "#28841c",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 113.077,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53909,
    "c": 0.16206,
    "h": 141.5
  },
  "luminance": 0.17037
}

Semantic roles & 50–950 ramp

primary
#28841C
secondary
#AA45B7
accent
#40E8D5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #28841C

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

Preview Lab → · Contrast checker → · Palette generator →

#28841C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva