#288B34#288B34

#288B34 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.154 H 145.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#288B34
RGBrgb(40, 139, 52)
HSLhsl(127, 55%, 35%)
HSVhsv(127, 71%, 55%)
CMYKcmyk(71.2%, 0%, 62.6%, 45.5%)
CIE-LABlab(50.88, -46.64, 37.62)
CIE-LCHlch(50.88, 59.92, 141.11°)
OKLaboklab(56.1% -0.126 0.0883)
OKLCHoklch(56.1% 0.154 145)
XYZxyz(10.7268, 19.1631, 6.3817)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B34 #8B287F
analogous
#4D8B28 #288B34 #288B66
triadic
#288B34 #34288B #8B3428
tetradic
#288B34 #284D8B #8B287F #8B6628
square
#288B34 #284D8B #8B287F #8B6628
split-complementary
#288B34 #66288B #8B284D
monochromatic
#0D2C10 #1A5B22 #288B34 #36BB46 #5DD06B

Accessibility & contrast

On white

4.35
#288B34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#288B34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B34
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B34#FFFFFF#000000##000000
##288B341.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2A
Deuteranopia (green-blind)
#82763B
Tritanopia (blue-blind)
#028778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b34;
/* rgb */ color: rgb(40, 139, 52);
/* oklch */ color: oklch(56.1% 0.154 145.0);
Tailwind
colors: {
  custom: {
    50: '#71ae6f',
    500: '#288b34',
    950: '#000000',
  },
}
SCSS
$custom: #288b34;
$custom-light: #71ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#288b34",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 52
  },
  "hsl": {
    "h": 127.273,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56103,
    "c": 0.1539,
    "h": 145
  },
  "luminance": 0.19164
}

Semantic roles & 50–950 ramp

primary
#288B34
secondary
#B659AA
accent
#49CDDF
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288B34

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

Preview Lab → · Contrast checker → · Palette generator →

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