#288A3E#288A3E

#288A3E is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.144 H 147.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#288A3E
RGBrgb(40, 138, 62)
HSLhsl(133, 55%, 35%)
HSVhsv(133, 71%, 54%)
CMYKcmyk(71%, 0%, 55.1%, 45.9%)
CIE-LABlab(50.66, -44.90, 32.41)
CIE-LCHlch(50.66, 55.37, 144.18°)
OKLaboklab(55.96% -0.121 0.0778)
OKLCHoklch(55.96% 0.144 147.3)
XYZxyz(10.8323, 18.9747, 7.6481)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A3E #8A2874
analogous
#438A28 #288A3E #288A6F
triadic
#288A3E #3E288A #8A3E28
tetradic
#288A3E #28438A #8A2874 #8A6F28
square
#288A3E #28438A #8A2874 #8A6F28
split-complementary
#288A3E #6F288A #8A2843
monochromatic
#0C2B13 #1A5B29 #288A3E #36B953 #5DD076

Accessibility & contrast

On white

4.38
#288A3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#288A3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A3E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A3E#FFFFFF#000000##000000
##288A3E1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E37
Deuteranopia (green-blind)
#807544
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288a3e;
/* rgb */ color: rgb(40, 138, 62);
/* oklch */ color: oklch(56.0% 0.144 147.3);
Tailwind
colors: {
  custom: {
    50: '#70ad75',
    500: '#288a3e',
    950: '#000000',
  },
}
SCSS
$custom: #288a3e;
$custom-light: #70ad75;
$custom-dark: #000000;
JSON
{
  "hex": "#288a3e",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 62
  },
  "hsl": {
    "h": 133.469,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55959,
    "c": 0.14386,
    "h": 147.3
  },
  "luminance": 0.18976
}

Semantic roles & 50–950 ramp

primary
#288A3E
secondary
#B559A0
accent
#49BDDE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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