#28851E#28851E

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

Color values

HEX#28851E
RGBrgb(40, 133, 30)
HSLhsl(114, 63%, 32%)
HSVhsv(114, 77%, 52%)
CMYKcmyk(69.9%, 0%, 77.4%, 47.8%)
CIE-LABlab(48.66, -46.69, 44.61)
CIE-LCHlch(48.66, 64.58, 136.31°)
OKLaboklab(54.21% -0.1273 0.1004)
OKLCHoklch(54.21% 0.162 141.7)
XYZxyz(9.4964, 17.3189, 4.0705)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28851E #7B1E85
analogous
#5C851E #28851E #1E8548
triadic
#28851E #1E2885 #851E28
tetradic
#28851E #1E5C85 #7B1E85 #85481E
square
#28851E #1E5C85 #7B1E85 #85481E
split-complementary
#28851E #481E85 #851E5C
monochromatic
#0A2107 #195313 #28851E #37B729 #56D648

Accessibility & contrast

On white

4.70
#28851E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28851E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28851E#FFFFFF#000000##FFFFFF
##28851E1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28851e;
/* rgb */ color: rgb(40, 133, 30);
/* oklch */ color: oklch(54.2% 0.162 141.7);
Tailwind
colors: {
  custom: {
    50: '#70a962',
    500: '#28851e',
    950: '#000000',
  },
}
SCSS
$custom: #28851e;
$custom-light: #70a962;
$custom-dark: #000000;
JSON
{
  "hex": "#28851e",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 114.175,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54206,
    "c": 0.16212,
    "h": 141.7
  },
  "luminance": 0.1732
}

Semantic roles & 50–950 ramp

primary
#28851E
secondary
#AD47B8
accent
#42E6D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #28851E

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

Preview Lab → · Contrast checker → · Palette generator →

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