#288C2D#288C2D

#288C2D is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.161 H 143.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288C2D
RGBrgb(40, 140, 45)
HSLhsl(123, 56%, 35%)
HSVhsv(123, 71%, 55%)
CMYKcmyk(71.4%, 0%, 67.9%, 45.1%)
CIE-LABlab(51.15, -47.80, 41.13)
CIE-LCHlch(51.15, 63.06, 139.29°)
OKLaboklab(56.31% -0.1295 0.095)
OKLCHoklch(56.31% 0.161 143.7)
XYZxyz(10.7261, 19.3956, 5.6606)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C2D #8C2887
analogous
#558C28 #288C2D #288C5F
triadic
#288C2D #2D288C #8C2D28
tetradic
#288C2D #28558C #8C2887 #8C5F28
square
#288C2D #28558C #8C2887 #8C5F28
split-complementary
#288C2D #5F288C #8C2855
monochromatic
#0D2D0E #1A5C1E #288C2D #36BC3C #5ED163

Accessibility & contrast

On white

4.30
#288C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#288C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C2D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C2D#FFFFFF#000000##000000
##288C2D1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#068878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c2d;
/* rgb */ color: rgb(40, 140, 45);
/* oklch */ color: oklch(56.3% 0.161 143.7);
Tailwind
colors: {
  custom: {
    50: '#71af6b',
    500: '#288c2d',
    950: '#000000',
  },
}
SCSS
$custom: #288c2d;
$custom-light: #71af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#288c2d",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 123,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56305,
    "c": 0.16066,
    "h": 143.7
  },
  "luminance": 0.19397
}

Semantic roles & 50–950 ramp

primary
#288C2D
secondary
#B65AB2
accent
#49D7DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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