#288738#288738

#288738 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.145 H 146.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#288738
RGBrgb(40, 135, 56)
HSLhsl(130, 54%, 34%)
HSVhsv(130, 70%, 53%)
CMYKcmyk(70.4%, 0%, 58.5%, 47.1%)
CIE-LABlab(49.57, -44.63, 34.15)
CIE-LCHlch(49.57, 56.20, 142.58°)
OKLaboklab(55.04% -0.1205 0.0812)
OKLCHoklch(55.04% 0.145 146)
XYZxyz(10.2521, 18.0635, 6.6869)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288738 #872877
analogous
#488728 #288738 #288768
triadic
#288738 #382887 #873828
tetradic
#288738 #284887 #872877 #876828
square
#288738 #284887 #872877 #876828
split-complementary
#288738 #682887 #872848
monochromatic
#0C2911 #1A5824 #288738 #36B64C #5BCE6E

Accessibility & contrast

On white

4.55
#288738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#288738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288738
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288738#FFFFFF#000000##000000
##2887381.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B30
Deuteranopia (green-blind)
#7E733E
Tritanopia (blue-blind)
#038476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #288738;
/* rgb */ color: rgb(40, 135, 56);
/* oklch */ color: oklch(55.0% 0.145 146.0);
Tailwind
colors: {
  custom: {
    50: '#70ab71',
    500: '#288738',
    950: '#000000',
  },
}
SCSS
$custom: #288738;
$custom-light: #70ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#288738",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 56
  },
  "hsl": {
    "h": 130.105,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55038,
    "c": 0.14526,
    "h": 146
  },
  "luminance": 0.18065
}

Semantic roles & 50–950 ramp

primary
#288738
secondary
#B457A4
accent
#4AC5DE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288738

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

Preview Lab → · Contrast checker → · Palette generator →

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