#288339#288339

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

Color values

HEX#288339
RGBrgb(40, 131, 57)
HSLhsl(131, 53%, 34%)
HSVhsv(131, 69%, 51%)
CMYKcmyk(69.5%, 0%, 56.5%, 48.6%)
CIE-LABlab(48.23, -42.97, 32.04)
CIE-LCHlch(48.23, 53.60, 143.29°)
OKLaboklab(53.93% -0.116 0.0766)
OKLCHoklch(53.93% 0.139 146.5)
XYZxyz(9.7292, 16.9781, 6.6345)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288339 #832872
analogous
#448328 #288339 #288366
triadic
#288339 #392883 #833928
tetradic
#288339 #284483 #832872 #836628
square
#288339 #284483 #832872 #836628
split-complementary
#288339 #662883 #832844
monochromatic
#0B2510 #1A5425 #288339 #36B24D #59CC6F

Accessibility & contrast

On white

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

On black

4.40
#288339 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##288339#FFFFFF#000000##FFFFFF
##2883391.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857732
Deuteranopia (green-blind)
#7A703F
Tritanopia (blue-blind)
#068072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288339;
/* rgb */ color: rgb(40, 131, 57);
/* oklch */ color: oklch(53.9% 0.139 146.5);
Tailwind
colors: {
  custom: {
    50: '#6fa871',
    500: '#288339',
    950: '#000000',
  },
}
SCSS
$custom: #288339;
$custom-light: #6fa871;
$custom-dark: #000000;
JSON
{
  "hex": "#288339",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 57
  },
  "hsl": {
    "h": 131.209,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53934,
    "c": 0.139,
    "h": 146.5
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#288339
secondary
#B155A0
accent
#4BC1DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288339

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

Preview Lab → · Contrast checker → · Palette generator →

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