#28851C#28851C

#28851C is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.163 H 141.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#28851C
RGBrgb(40, 133, 28)
HSLhsl(113, 65%, 32%)
HSVhsv(113, 79%, 52%)
CMYKcmyk(69.9%, 0%, 78.9%, 47.8%)
CIE-LABlab(48.65, -46.84, 45.31)
CIE-LCHlch(48.65, 65.17, 135.95°)
OKLaboklab(54.19% -0.1278 0.1015)
OKLCHoklch(54.19% 0.163 141.5)
XYZxyz(9.4717, 17.3090, 3.9402)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28851C #791C85
analogous
#5D851C #28851C #1C8545
triadic
#28851C #1C2885 #851C28
tetradic
#28851C #1C5D85 #791C85 #85451C
square
#28851C #1C5D85 #791C85 #85451C
split-complementary
#28851C #451C85 #851C5D
monochromatic
#0A2007 #195211 #28851C #37B827 #55D844

Accessibility & contrast

On white

4.71
#28851C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#28851C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28851C
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28851C#FFFFFF#000000##FFFFFF
##28851C1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887803
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#138171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #28851c;
/* rgb */ color: rgb(40, 133, 28);
/* oklch */ color: oklch(54.2% 0.163 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a961',
    500: '#28851c',
    950: '#000000',
  },
}
SCSS
$custom: #28851c;
$custom-light: #70a961;
$custom-dark: #000000;
JSON
{
  "hex": "#28851c",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 113.143,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54192,
    "c": 0.16324,
    "h": 141.5
  },
  "luminance": 0.1731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28851C

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

Preview Lab → · Contrast checker → · Palette generator →

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