#288C2C#288C2C

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

Color values

HEX#288C2C
RGBrgb(40, 140, 44)
HSLhsl(122, 56%, 35%)
HSVhsv(122, 71%, 55%)
CMYKcmyk(71.4%, 0%, 68.6%, 45.1%)
CIE-LABlab(51.14, -47.91, 41.55)
CIE-LCHlch(51.14, 63.42, 139.06°)
OKLaboklab(56.29% -0.1299 0.0958)
OKLCHoklch(56.29% 0.161 143.6)
XYZxyz(10.7071, 19.3880, 5.5604)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C2C #8C2888
analogous
#568C28 #288C2C #288C5E
triadic
#288C2C #2C288C #8C2C28
tetradic
#288C2C #28568C #8C2888 #8C5E28
square
#288C2C #28568C #8C2888 #8C5E28
split-complementary
#288C2C #5E288C #8C2856
monochromatic
#0D2D0E #1A5C1D #288C2C #36BC3B #5ED162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288C2C#FFFFFF#000000##000000
##288C2C1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#078878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c2c;
/* rgb */ color: rgb(40, 140, 44);
/* oklch */ color: oklch(56.3% 0.161 143.6);
Tailwind
colors: {
  custom: {
    50: '#71af6a',
    500: '#288c2c',
    950: '#000000',
  },
}
SCSS
$custom: #288c2c;
$custom-light: #71af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#288c2c",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 122.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56294,
    "c": 0.16139,
    "h": 143.6
  },
  "luminance": 0.19389
}

Semantic roles & 50–950 ramp

primary
#288C2C
secondary
#B65AB3
accent
#49D9DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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