#288236#288236

#288236 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.140 H 145.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#288236
RGBrgb(40, 130, 54)
HSLhsl(129, 53%, 33%)
HSVhsv(129, 69%, 51%)
CMYKcmyk(69.2%, 0%, 58.5%, 49%)
CIE-LABlab(47.86, -43.02, 33.12)
CIE-LCHlch(47.86, 54.29, 142.40°)
OKLaboklab(53.61% -0.1162 0.0788)
OKLCHoklch(53.61% 0.14 145.9)
XYZxyz(9.5229, 16.6817, 6.2073)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288236 #822874
analogous
#478228 #288236 #288263
triadic
#288236 #362882 #823628
tetradic
#288236 #284782 #822874 #826328
square
#288236 #284782 #822874 #826328
split-complementary
#288236 #632882 #822847
monochromatic
#0B240F #1A5323 #288236 #36B149 #59CC6B

Accessibility & contrast

On white

4.84
#288236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#288236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288236
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288236#FFFFFF#000000##FFFFFF
##2882361.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762F
Deuteranopia (green-blind)
#796F3C
Tritanopia (blue-blind)
#0A7F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288236;
/* rgb */ color: rgb(40, 130, 54);
/* oklch */ color: oklch(53.6% 0.140 145.9);
Tailwind
colors: {
  custom: {
    50: '#6ea76f',
    500: '#288236',
    950: '#000000',
  },
}
SCSS
$custom: #288236;
$custom-light: #6ea76f;
$custom-dark: #000000;
JSON
{
  "hex": "#288236",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 129.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.14035,
    "h": 145.9
  },
  "luminance": 0.16683
}

Semantic roles & 50–950 ramp

primary
#288236
secondary
#B155A3
accent
#4BC6DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #288236

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

Preview Lab → · Contrast checker → · Palette generator →

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