#28831C#28831C

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

Color values

HEX#28831C
RGBrgb(40, 131, 28)
HSLhsl(113, 65%, 31%)
HSVhsv(113, 79%, 51%)
CMYKcmyk(69.5%, 0%, 78.6%, 48.6%)
CIE-LABlab(47.96, -46.13, 44.64)
CIE-LCHlch(47.96, 64.20, 135.94°)
OKLaboklab(53.63% -0.1259 0.1002)
OKLCHoklch(53.63% 0.161 141.5)
XYZxyz(9.2005, 16.7666, 3.8498)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28831C #771C83
analogous
#5B831C #28831C #1C8343
triadic
#28831C #1C2883 #831C28
tetradic
#28831C #1C5B83 #771C83 #83431C
square
#28831C #1C5B83 #771C83 #83431C
split-complementary
#28831C #431C83 #831C5B
monochromatic
#091E06 #195111 #28831C #37B527 #54D743

Accessibility & contrast

On white

4.82
#28831C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28831C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28831C#FFFFFF#000000##FFFFFF
##28831C1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#147F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #28831c;
/* rgb */ color: rgb(40, 131, 28);
/* oklch */ color: oklch(53.6% 0.161 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a860',
    500: '#28831c',
    950: '#000000',
  },
}
SCSS
$custom: #28831c;
$custom-light: #70a860;
$custom-dark: #000000;
JSON
{
  "hex": "#28831c",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 113.01,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53626,
    "c": 0.16088,
    "h": 141.5
  },
  "luminance": 0.16768
}

Semantic roles & 50–950 ramp

primary
#28831C
secondary
#A945B6
accent
#40E8D4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #28831C

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

Preview Lab → · Contrast checker → · Palette generator →

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