#288D26#288D26

#288D26 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.167 H 142.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#288D26
RGBrgb(40, 141, 38)
HSLhsl(119, 58%, 35%)
HSVhsv(119, 73%, 55%)
CMYKcmyk(71.6%, 0%, 73%, 44.7%)
CIE-LABlab(51.43, -48.84, 44.36)
CIE-LCHlch(51.43, 65.98, 137.75°)
OKLaboklab(56.52% -0.1327 0.101)
OKLCHoklch(56.52% 0.167 142.7)
XYZxyz(10.7492, 19.6396, 5.0577)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D26 #8B268D
analogous
#5B8D26 #288D26 #268D57
triadic
#288D26 #26288D #8D2628
tetradic
#288D26 #265B8D #8B268D #8D5726
square
#288D26 #265B8D #8B268D #8D5726
split-complementary
#288D26 #57268D #8D265B
monochromatic
#0D2D0C #1A5D19 #288D26 #36BD33 #5DD35B

Accessibility & contrast

On white

4.26
#288D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#288D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D26
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D26#FFFFFF#000000##000000
##288D261.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#098979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d26;
/* rgb */ color: rgb(40, 141, 38);
/* oklch */ color: oklch(56.5% 0.167 142.7);
Tailwind
colors: {
  custom: {
    50: '#72af67',
    500: '#288d26',
    950: '#000000',
  },
}
SCSS
$custom: #288d26;
$custom-light: #72af67;
$custom-dark: #000000;
JSON
{
  "hex": "#288d26",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 118.835,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56519,
    "c": 0.16674,
    "h": 142.7
  },
  "luminance": 0.19641
}

Semantic roles & 50–950 ramp

primary
#288D26
secondary
#B657B8
accent
#47E1DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288D26

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

Preview Lab → · Contrast checker → · Palette generator →

#288D26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva