#28831A#28831A

#28831A is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.162 H 141.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#28831A
RGBrgb(40, 131, 26)
HSLhsl(112, 67%, 31%)
HSVhsv(112, 80%, 51%)
CMYKcmyk(69.5%, 0%, 80.2%, 48.6%)
CIE-LABlab(47.95, -46.27, 45.32)
CIE-LCHlch(47.95, 64.77, 135.60°)
OKLaboklab(53.61% -0.1264 0.1013)
OKLCHoklch(53.61% 0.162 141.3)
XYZxyz(9.1773, 16.7573, 3.7279)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28831A #751A83
analogous
#5C831A #28831A #1A8340
triadic
#28831A #1A2883 #831A28
tetradic
#28831A #1A5C83 #751A83 #83401A
square
#28831A #1A5C83 #751A83 #83401A
split-complementary
#28831A #401A83 #831A5C
monochromatic
#091D06 #185010 #28831A #38B624 #53D93F

Accessibility & contrast

On white

4.83
#28831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#28831A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28831A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28831A#FFFFFF#000000##FFFFFF
##28831A1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#157F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #28831a;
/* rgb */ color: rgb(40, 131, 26);
/* oklch */ color: oklch(53.6% 0.162 141.3);
Tailwind
colors: {
  custom: {
    50: '#70a85f',
    500: '#28831a',
    950: '#000000',
  },
}
SCSS
$custom: #28831a;
$custom-light: #70a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#28831a",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 112,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53612,
    "c": 0.16196,
    "h": 141.3
  },
  "luminance": 0.16758
}

Semantic roles & 50–950 ramp

primary
#28831A
secondary
#A742B7
accent
#3EEAD3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #28831A

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

Preview Lab → · Contrast checker → · Palette generator →

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