#288E26#288E26

#288E26 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.168 H 142.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#288E26
RGBrgb(40, 142, 38)
HSLhsl(119, 58%, 35%)
HSVhsv(119, 73%, 56%)
CMYKcmyk(71.8%, 0%, 73.2%, 44.3%)
CIE-LABlab(51.76, -49.19, 44.71)
CIE-LCHlch(51.76, 66.47, 137.73°)
OKLaboklab(56.8% -0.1336 0.1017)
OKLCHoklch(56.8% 0.168 142.7)
XYZxyz(10.8973, 19.9359, 5.1071)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E26 #8C268E
analogous
#5C8E26 #288E26 #268E58
triadic
#288E26 #26288E #8E2628
tetradic
#288E26 #265C8E #8C268E #8E5826
square
#288E26 #265C8E #8C268E #8E5826
split-complementary
#288E26 #58268E #8E265C
monochromatic
#0D2D0C #1A5E19 #288E26 #36BE33 #5ED35B

Accessibility & contrast

On white

4.21
#288E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#288E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E26
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E26#FFFFFF#000000##000000
##288E261.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918015
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#088A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e26;
/* rgb */ color: rgb(40, 142, 38);
/* oklch */ color: oklch(56.8% 0.168 142.7);
Tailwind
colors: {
  custom: {
    50: '#72b067',
    500: '#288e26',
    950: '#000000',
  },
}
SCSS
$custom: #288e26;
$custom-light: #72b067;
$custom-dark: #000000;
JSON
{
  "hex": "#288e26",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 118.846,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56799,
    "c": 0.16794,
    "h": 142.7
  },
  "luminance": 0.19937
}

Semantic roles & 50–950 ramp

primary
#288E26
secondary
#B658B8
accent
#47E1DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288E26

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

Preview Lab → · Contrast checker → · Palette generator →

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