#288D46#288D46

#288D46 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.140 H 149.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#288D46
RGBrgb(40, 141, 70)
HSLhsl(138, 56%, 35%)
HSVhsv(138, 72%, 55%)
CMYKcmyk(71.6%, 0%, 50.4%, 44.7%)
CIE-LABlab(51.77, -44.79, 29.61)
CIE-LCHlch(51.77, 53.69, 146.53°)
OKLaboklab(56.92% -0.1206 0.072)
OKLCHoklch(56.92% 0.14 149.2)
XYZxyz(11.5045, 19.9418, 9.0360)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D46 #8D286F
analogous
#3C8D28 #288D46 #288D78
triadic
#288D46 #46288D #8D4628
tetradic
#288D46 #283C8D #8D286F #8D7828
square
#288D46 #283C8D #8D286F #8D7828
split-complementary
#288D46 #78288D #8D283C
monochromatic
#0D2E17 #1A5D2E #288D46 #36BD5E #5ED180

Accessibility & contrast

On white

4.21
#288D46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#288D46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D46
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D46#FFFFFF#000000##000000
##288D461.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8140
Deuteranopia (green-blind)
#82784B
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d46;
/* rgb */ color: rgb(40, 141, 70);
/* oklch */ color: oklch(56.9% 0.140 149.2);
Tailwind
colors: {
  custom: {
    50: '#70af7b',
    500: '#288d46',
    950: '#000000',
  },
}
SCSS
$custom: #288d46;
$custom-light: #70af7b;
$custom-dark: #000000;
JSON
{
  "hex": "#288d46",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 137.822,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.14043,
    "h": 149.2
  },
  "luminance": 0.19943
}

Semantic roles & 50–950 ramp

primary
#288D46
secondary
#B75A9B
accent
#49B2DF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288D46

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

Preview Lab → · Contrast checker → · Palette generator →

#288D46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva