#288340#288340

#288340 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.132 H 148.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#288340
RGBrgb(40, 131, 64)
HSLhsl(136, 53%, 34%)
HSVhsv(136, 69%, 51%)
CMYKcmyk(69.5%, 0%, 51.1%, 48.6%)
CIE-LABlab(48.33, -41.89, 28.49)
CIE-LCHlch(48.33, 50.66, 145.78°)
OKLaboklab(54.04% -0.1129 0.0692)
OKLCHoklch(54.04% 0.132 148.5)
XYZxyz(9.9160, 17.0528, 7.6184)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288340 #83286B
analogous
#3D8328 #288340 #28836D
triadic
#288340 #402883 #834028
tetradic
#288340 #283D83 #83286B #836D28
square
#288340 #283D83 #83286B #836D28
split-complementary
#288340 #6D2883 #83283D
monochromatic
#0B2512 #1A5429 #288340 #36B257 #59CC77

Accessibility & contrast

On white

4.76
#288340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#288340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288340
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288340#FFFFFF#000000##FFFFFF
##2883401.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773A
Deuteranopia (green-blind)
#797045
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288340;
/* rgb */ color: rgb(40, 131, 64);
/* oklch */ color: oklch(54.0% 0.132 148.5);
Tailwind
colors: {
  custom: {
    50: '#6ea876',
    500: '#288340',
    950: '#000000',
  },
}
SCSS
$custom: #288340;
$custom-light: #6ea876;
$custom-dark: #000000;
JSON
{
  "hex": "#288340",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 135.824,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54042,
    "c": 0.1324,
    "h": 148.5
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#288340
secondary
#B15599
accent
#4BB6DD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288340

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

Preview Lab → · Contrast checker → · Palette generator →

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