#288A30#288A30

#288A30 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.156 H 144.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#288A30
RGBrgb(40, 138, 48)
HSLhsl(125, 55%, 35%)
HSVhsv(125, 71%, 54%)
CMYKcmyk(71%, 0%, 65.2%, 45.9%)
CIE-LABlab(50.50, -46.75, 39.06)
CIE-LCHlch(50.50, 60.92, 140.12°)
OKLaboklab(55.78% -0.1265 0.091)
OKLCHoklch(55.78% 0.156 144.3)
XYZxyz(10.4964, 18.8403, 5.8791)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A30 #8A2882
analogous
#518A28 #288A30 #288A61
triadic
#288A30 #30288A #8A3028
tetradic
#288A30 #28518A #8A2882 #8A6128
square
#288A30 #28518A #8A2882 #8A6128
split-complementary
#288A30 #61288A #8A2851
monochromatic
#0C2B0F #1A5B1F #288A30 #36B941 #5DD066

Accessibility & contrast

On white

4.40
#288A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#288A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A30
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A30#FFFFFF#000000##000000
##288A301.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D25
Deuteranopia (green-blind)
#817538
Tritanopia (blue-blind)
#068677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a30;
/* rgb */ color: rgb(40, 138, 48);
/* oklch */ color: oklch(55.8% 0.156 144.3);
Tailwind
colors: {
  custom: {
    50: '#71ad6c',
    500: '#288a30',
    950: '#000000',
  },
}
SCSS
$custom: #288a30;
$custom-light: #71ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#288a30",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 124.898,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.15586,
    "h": 144.3
  },
  "luminance": 0.18841
}

Semantic roles & 50–950 ramp

primary
#288A30
secondary
#B559AE
accent
#49D2DE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288A30

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

Preview Lab → · Contrast checker → · Palette generator →

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