#288726#288726

#288726 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.159 H 142.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#288726
RGBrgb(40, 135, 38)
HSLhsl(119, 56%, 34%)
HSVhsv(119, 72%, 53%)
CMYKcmyk(70.4%, 0%, 71.9%, 47.1%)
CIE-LABlab(49.40, -46.72, 42.24)
CIE-LCHlch(49.40, 62.99, 137.88°)
OKLaboklab(54.84% -0.127 0.0965)
OKLCHoklch(54.84% 0.159 142.8)
XYZxyz(9.8883, 17.9180, 4.7707)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288726 #852687
analogous
#598726 #288726 #268755
triadic
#288726 #262887 #872628
tetradic
#288726 #265987 #852687 #875526
square
#288726 #265987 #852687 #875526
split-complementary
#288726 #552687 #872659
monochromatic
#0C270B #1A5719 #288726 #36B733 #5AD058

Accessibility & contrast

On white

4.58
#288726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#288726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288726
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288726#FFFFFF#000000##000000
##2887261.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#7F722F
Tritanopia (blue-blind)
#0E8374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #288726;
/* rgb */ color: rgb(40, 135, 38);
/* oklch */ color: oklch(54.8% 0.159 142.8);
Tailwind
colors: {
  custom: {
    50: '#70ab66',
    500: '#288726',
    950: '#000000',
  },
}
SCSS
$custom: #288726;
$custom-light: #70ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#288726",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 118.763,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.15949,
    "h": 142.8
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#288726
secondary
#B354B5
accent
#48DFDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288726

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

Preview Lab → · Contrast checker → · Palette generator →

#288726 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva