#28864B#28864B

#28864B is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.1% C 0.126 H 151.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#28864B
RGBrgb(40, 134, 75)
HSLhsl(142, 54%, 34%)
HSVhsv(142, 70%, 53%)
CMYKcmyk(70.1%, 0%, 44%, 47.5%)
CIE-LABlab(49.51, -41.16, 24.02)
CIE-LCHlch(49.51, 47.66, 149.73°)
OKLaboklab(55.07% -0.111 0.0594)
OKLCHoklch(55.07% 0.126 151.9)
XYZxyz(10.6693, 18.0081, 9.5689)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28864B #862863
analogous
#348628 #28864B #28867A
triadic
#28864B #4B2886 #864B28
tetradic
#28864B #283486 #862863 #867A28
square
#28864B #283486 #862863 #867A28
split-complementary
#28864B #7A2886 #862834
monochromatic
#0C2816 #1A5731 #28864B #36B565 #5BCE85

Accessibility & contrast

On white

4.56
#28864B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#28864B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28864B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28864B#FFFFFF#000000##000000
##28864B1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B47
Deuteranopia (green-blind)
#7B724F
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #28864b;
/* rgb */ color: rgb(40, 134, 75);
/* oklch */ color: oklch(55.1% 0.126 151.9);
Tailwind
colors: {
  custom: {
    50: '#6faa7e',
    500: '#28864b',
    950: '#000000',
  },
}
SCSS
$custom: #28864b;
$custom-light: #6faa7e;
$custom-dark: #000000;
JSON
{
  "hex": "#28864b",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 75
  },
  "hsl": {
    "h": 142.34,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5507,
    "c": 0.12586,
    "h": 151.9
  },
  "luminance": 0.18009
}

Semantic roles & 50–950 ramp

primary
#28864B
secondary
#B35791
accent
#4AA7DD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #28864B

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

Preview Lab → · Contrast checker → · Palette generator →

#28864B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva