#288336#288336

#288336 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.142 H 145.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#288336
RGBrgb(40, 131, 54)
HSLhsl(129, 53%, 34%)
HSVhsv(129, 69%, 51%)
CMYKcmyk(69.5%, 0%, 58.8%, 48.6%)
CIE-LABlab(48.20, -43.40, 33.52)
CIE-LCHlch(48.20, 54.84, 142.31°)
OKLaboklab(53.89% -0.1172 0.0796)
OKLCHoklch(53.89% 0.142 145.8)
XYZxyz(9.6566, 16.9490, 6.2519)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288336 #832875
analogous
#478328 #288336 #288363
triadic
#288336 #362883 #833628
tetradic
#288336 #284783 #832875 #836328
square
#288336 #284783 #832875 #836328
split-complementary
#288336 #632883 #832847
monochromatic
#0B250F #1A5423 #288336 #36B249 #59CC6B

Accessibility & contrast

On white

4.78
#288336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#288336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288336
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288336#FFFFFF#000000##FFFFFF
##2883361.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772E
Deuteranopia (green-blind)
#7A6F3C
Tritanopia (blue-blind)
#098072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288336;
/* rgb */ color: rgb(40, 131, 54);
/* oklch */ color: oklch(53.9% 0.142 145.8);
Tailwind
colors: {
  custom: {
    50: '#6fa86f',
    500: '#288336',
    950: '#000000',
  },
}
SCSS
$custom: #288336;
$custom-light: #6fa86f;
$custom-dark: #000000;
JSON
{
  "hex": "#288336",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 129.231,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53892,
    "c": 0.1417,
    "h": 145.8
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#288336
secondary
#B155A3
accent
#4BC6DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #288336

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

Preview Lab → · Contrast checker → · Palette generator →

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