#288A2C#288A2C

#288A2C is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.159 H 143.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#288A2C
RGBrgb(40, 138, 44)
HSLhsl(122, 55%, 35%)
HSVhsv(122, 71%, 54%)
CMYKcmyk(71%, 0%, 68.1%, 45.9%)
CIE-LABlab(50.46, -47.19, 40.82)
CIE-LCHlch(50.46, 62.40, 139.14°)
OKLaboklab(55.74% -0.1279 0.0943)
OKLCHoklch(55.74% 0.159 143.6)
XYZxyz(10.4175, 18.8088, 5.4638)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A2C #8A2886
analogous
#558A28 #288A2C #288A5D
triadic
#288A2C #2C288A #8A2C28
tetradic
#288A2C #28558A #8A2886 #8A5D28
square
#288A2C #28558A #8A2886 #8A5D28
split-complementary
#288A2C #5D288A #8A2855
monochromatic
#0C2B0E #1A5B1D #288A2C #36B93B #5DD061

Accessibility & contrast

On white

4.41
#288A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#288A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A2C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A2C#FFFFFF#000000##000000
##288A2C1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D20
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#098677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a2c;
/* rgb */ color: rgb(40, 138, 44);
/* oklch */ color: oklch(55.7% 0.159 143.6);
Tailwind
colors: {
  custom: {
    50: '#71ad6a',
    500: '#288a2c',
    950: '#000000',
  },
}
SCSS
$custom: #288a2c;
$custom-light: #71ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#288a2c",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 122.449,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55735,
    "c": 0.15891,
    "h": 143.6
  },
  "luminance": 0.1881
}

Semantic roles & 50–950 ramp

primary
#288A2C
secondary
#B559B1
accent
#49D8DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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