#288342#288342

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

Color values

HEX#288342
RGBrgb(40, 131, 66)
HSLhsl(137, 53%, 34%)
HSVhsv(137, 69%, 51%)
CMYKcmyk(69.5%, 0%, 49.6%, 48.6%)
CIE-LABlab(48.36, -41.56, 27.46)
CIE-LCHlch(48.36, 49.81, 146.55°)
OKLaboklab(54.08% -0.112 0.0669)
OKLCHoklch(54.08% 0.13 149.1)
XYZxyz(9.9740, 17.0760, 7.9236)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288342 #832869
analogous
#3B8328 #288342 #28836F
triadic
#288342 #422883 #834228
tetradic
#288342 #283B83 #832869 #836F28
square
#288342 #283B83 #832869 #836F28
split-complementary
#288342 #6F2883 #83283B
monochromatic
#0B2513 #1A542A #288342 #36B25A #59CC7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288342#FFFFFF#000000##FFFFFF
##2883421.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84783D
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#008074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288342;
/* rgb */ color: rgb(40, 131, 66);
/* oklch */ color: oklch(54.1% 0.130 149.1);
Tailwind
colors: {
  custom: {
    50: '#6ea877',
    500: '#288342',
    950: '#000000',
  },
}
SCSS
$custom: #288342;
$custom-light: #6ea877;
$custom-dark: #000000;
JSON
{
  "hex": "#288342",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 137.143,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.13046,
    "h": 149.1
  },
  "luminance": 0.17077
}

Semantic roles & 50–950 ramp

primary
#288342
secondary
#B15597
accent
#4BB3DD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288342

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

Preview Lab → · Contrast checker → · Palette generator →

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