#288B46#288B46

#288B46 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.138 H 149.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#288B46
RGBrgb(40, 139, 70)
HSLhsl(138, 55%, 35%)
HSVhsv(138, 71%, 55%)
CMYKcmyk(71.2%, 0%, 49.6%, 45.5%)
CIE-LABlab(51.10, -44.02, 28.77)
CIE-LCHlch(51.10, 52.59, 146.83°)
OKLaboklab(56.36% -0.1185 0.0701)
OKLCHoklch(56.36% 0.138 149.4)
XYZxyz(11.2123, 19.3573, 8.9386)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B46 #8B286D
analogous
#3B8B28 #288B46 #288B78
triadic
#288B46 #46288B #8B4628
tetradic
#288B46 #283B8B #8B286D #8B7828
square
#288B46 #283B8B #8B286D #8B7828
split-complementary
#288B46 #78288B #8B283B
monochromatic
#0D2C16 #1A5B2E #288B46 #36BB5E #5DD080

Accessibility & contrast

On white

4.31
#288B46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#288B46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B46
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B46#FFFFFF#000000##000000
##288B461.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F40
Deuteranopia (green-blind)
#80764B
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b46;
/* rgb */ color: rgb(40, 139, 70);
/* oklch */ color: oklch(56.4% 0.138 149.4);
Tailwind
colors: {
  custom: {
    50: '#70ae7b',
    500: '#288b46',
    950: '#000000',
  },
}
SCSS
$custom: #288b46;
$custom-light: #70ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#288b46",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 70
  },
  "hsl": {
    "h": 138.182,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.1377,
    "h": 149.4
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#288B46
secondary
#B6599A
accent
#49B1DF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288B46

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

Preview Lab → · Contrast checker → · Palette generator →

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