#288751#288751

#288751 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.121 H 154.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#288751
RGBrgb(40, 135, 81)
HSLhsl(146, 54%, 34%)
HSVhsv(146, 70%, 53%)
CMYKcmyk(70.4%, 0%, 40%, 47.1%)
CIE-LABlab(49.94, -40.41, 21.26)
CIE-LCHlch(49.94, 45.66, 152.24°)
OKLaboklab(55.47% -0.1091 0.053)
OKLCHoklch(55.47% 0.121 154.1)
XYZxyz(11.0233, 18.3719, 10.7482)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288751 #87285E
analogous
#2E8728 #288751 #288781
triadic
#288751 #512887 #875128
tetradic
#288751 #282E87 #87285E #878128
square
#288751 #282E87 #87285E #878128
split-complementary
#288751 #812887 #87282E
monochromatic
#0C2918 #1A5835 #288751 #36B66D #5BCE8D

Accessibility & contrast

On white

4.49
#288751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#288751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288751
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288751#FFFFFF#000000##000000
##2887511.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4D
Deuteranopia (green-blind)
#7B7355
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #288751;
/* rgb */ color: rgb(40, 135, 81);
/* oklch */ color: oklch(55.5% 0.121 154.1);
Tailwind
colors: {
  custom: {
    50: '#6fab82',
    500: '#288751',
    950: '#000000',
  },
}
SCSS
$custom: #288751;
$custom-light: #6fab82;
$custom-dark: #000000;
JSON
{
  "hex": "#288751",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 81
  },
  "hsl": {
    "h": 145.895,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.12135,
    "h": 154.1
  },
  "luminance": 0.18373
}

Semantic roles & 50–950 ramp

primary
#288751
secondary
#B4578C
accent
#4A9EDE
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288751

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

Preview Lab → · Contrast checker → · Palette generator →

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