#288337#288337

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

Color values

HEX#288337
RGBrgb(40, 131, 55)
HSLhsl(130, 53%, 34%)
HSVhsv(130, 69%, 51%)
CMYKcmyk(69.5%, 0%, 58%, 48.6%)
CIE-LABlab(48.21, -43.26, 33.03)
CIE-LCHlch(48.21, 54.43, 142.63°)
OKLaboklab(53.91% -0.1168 0.0786)
OKLCHoklch(53.91% 0.141 146)
XYZxyz(9.6803, 16.9585, 6.3769)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288337 #832874
analogous
#468328 #288337 #288364
triadic
#288337 #372883 #833728
tetradic
#288337 #284683 #832874 #836428
square
#288337 #284683 #832874 #836428
split-complementary
#288337 #642883 #832846
monochromatic
#0B2510 #1A5423 #288337 #36B24B #59CC6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288337#FFFFFF#000000##FFFFFF
##2883371.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)
#857730
Deuteranopia (green-blind)
#7A6F3D
Tritanopia (blue-blind)
#088072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288337;
/* rgb */ color: rgb(40, 131, 55);
/* oklch */ color: oklch(53.9% 0.141 146.0);
Tailwind
colors: {
  custom: {
    50: '#6fa870',
    500: '#288337',
    950: '#000000',
  },
}
SCSS
$custom: #288337;
$custom-light: #6fa870;
$custom-dark: #000000;
JSON
{
  "hex": "#288337",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 129.89,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53905,
    "c": 0.14081,
    "h": 146
  },
  "luminance": 0.1696
}

Semantic roles & 50–950 ramp

primary
#288337
secondary
#B155A2
accent
#4BC5DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #288337

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

Preview Lab → · Contrast checker → · Palette generator →

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