#288B38#288B38

#288B38 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.151 H 145.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#288B38
RGBrgb(40, 139, 56)
HSLhsl(130, 55%, 35%)
HSVhsv(130, 71%, 55%)
CMYKcmyk(71.2%, 0%, 59.7%, 45.5%)
CIE-LABlab(50.92, -46.12, 35.73)
CIE-LCHlch(50.92, 58.35, 142.23°)
OKLaboklab(56.15% -0.1245 0.0846)
OKLCHoklch(56.15% 0.151 145.8)
XYZxyz(10.8208, 19.2007, 6.8765)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B38 #8B287B
analogous
#498B28 #288B38 #288B69
triadic
#288B38 #38288B #8B3828
tetradic
#288B38 #28498B #8B287B #8B6928
square
#288B38 #28498B #8B287B #8B6928
split-complementary
#288B38 #69288B #8B2849
monochromatic
#0D2C12 #1A5B25 #288B38 #36BB4B #5DD070

Accessibility & contrast

On white

4.34
#288B38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#288B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B38
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B38#FFFFFF#000000##000000
##288B381.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E30
Deuteranopia (green-blind)
#81763F
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b38;
/* rgb */ color: rgb(40, 139, 56);
/* oklch */ color: oklch(56.2% 0.151 145.8);
Tailwind
colors: {
  custom: {
    50: '#70ae71',
    500: '#288b38',
    950: '#000000',
  },
}
SCSS
$custom: #288b38;
$custom-light: #70ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#288b38",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 56
  },
  "hsl": {
    "h": 129.697,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56154,
    "c": 0.15052,
    "h": 145.8
  },
  "luminance": 0.19202
}

Semantic roles & 50–950 ramp

primary
#288B38
secondary
#B659A7
accent
#49C6DF
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #288B38

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

Preview Lab → · Contrast checker → · Palette generator →

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