#288345#288345

#288345 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.128 H 150.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#288345
RGBrgb(40, 131, 69)
HSLhsl(139, 53%, 34%)
HSVhsv(139, 69%, 51%)
CMYKcmyk(69.5%, 0%, 47.3%, 48.6%)
CIE-LABlab(48.40, -41.04, 25.89)
CIE-LCHlch(48.40, 48.52, 147.75°)
OKLaboklab(54.13% -0.1106 0.0635)
OKLCHoklch(54.13% 0.128 150.2)
XYZxyz(10.0648, 17.1123, 8.4017)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288345 #832866
analogous
#388328 #288345 #288372
triadic
#288345 #452883 #834528
tetradic
#288345 #283883 #832866 #837228
square
#288345 #283883 #832866 #837228
split-complementary
#288345 #722883 #832838
monochromatic
#0B2514 #1A542C #288345 #36B25E #59CC7E

Accessibility & contrast

On white

4.75
#288345 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#288345 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288345
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288345#FFFFFF#000000##FFFFFF
##2883451.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847840
Deuteranopia (green-blind)
#797049
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288345;
/* rgb */ color: rgb(40, 131, 69);
/* oklch */ color: oklch(54.1% 0.128 150.2);
Tailwind
colors: {
  custom: {
    50: '#6ea879',
    500: '#288345',
    950: '#000000',
  },
}
SCSS
$custom: #288345;
$custom-light: #6ea879;
$custom-dark: #000000;
JSON
{
  "hex": "#288345",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 69
  },
  "hsl": {
    "h": 139.121,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54128,
    "c": 0.12753,
    "h": 150.2
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#288345
secondary
#B15594
accent
#4BAEDD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288345

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

Preview Lab → · Contrast checker → · Palette generator →

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