#288F26#288F26

#288F26 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.169 H 142.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#288F26
RGBrgb(40, 143, 38)
HSLhsl(119, 58%, 35%)
HSVhsv(119, 73%, 56%)
CMYKcmyk(72%, 0%, 73.4%, 43.9%)
CIE-LABlab(52.10, -49.54, 45.06)
CIE-LCHlch(52.10, 66.96, 137.71°)
OKLaboklab(57.08% -0.1346 0.1024)
OKLCHoklch(57.08% 0.169 142.7)
XYZxyz(11.0467, 20.2348, 5.1569)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F26 #8D268F
analogous
#5C8F26 #288F26 #268F58
triadic
#288F26 #26288F #8F2628
tetradic
#288F26 #265C8F #8D268F #8F5826
square
#288F26 #265C8F #8D268F #8F5826
split-complementary
#288F26 #58268F #8F265C
monochromatic
#0D2E0C #1A5F19 #288F26 #36BF33 #5ED45C

Accessibility & contrast

On white

4.16
#288F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#288F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F26
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F26#FFFFFF#000000##000000
##288F261.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#078B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f26;
/* rgb */ color: rgb(40, 143, 38);
/* oklch */ color: oklch(57.1% 0.169 142.7);
Tailwind
colors: {
  custom: {
    50: '#72b167',
    500: '#288f26',
    950: '#000000',
  },
}
SCSS
$custom: #288f26;
$custom-light: #72b167;
$custom-dark: #000000;
JSON
{
  "hex": "#288f26",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 118.857,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57078,
    "c": 0.16912,
    "h": 142.7
  },
  "luminance": 0.20236
}

Semantic roles & 50–950 ramp

primary
#288F26
secondary
#B758B9
accent
#47E1DE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288F26

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

Preview Lab → · Contrast checker → · Palette generator →

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