#288048#288048

#288048 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.120 H 151.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#288048
RGBrgb(40, 128, 72)
HSLhsl(142, 52%, 33%)
HSVhsv(142, 69%, 50%)
CMYKcmyk(68.8%, 0%, 43.8%, 49.8%)
CIE-LABlab(47.44, -39.28, 23.00)
CIE-LCHlch(47.44, 45.52, 149.65°)
OKLaboklab(53.35% -0.106 0.0569)
OKLCHoklch(53.35% 0.12 151.8)
XYZxyz(9.7631, 16.3563, 8.7722)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288048 #802860
analogous
#348028 #288048 #288074
triadic
#288048 #482880 #804828
tetradic
#288048 #283480 #802860 #807428
square
#288048 #283480 #802860 #807428
split-complementary
#288048 #742880 #802834
monochromatic
#0B2314 #19512E #288048 #37AF62 #58CB82

Accessibility & contrast

On white

4.92
#288048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#288048 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288048
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288048#FFFFFF#000000##FFFFFF
##2880481.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807544
Deuteranopia (green-blind)
#756D4C
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #288048;
/* rgb */ color: rgb(40, 128, 72);
/* oklch */ color: oklch(53.3% 0.120 151.8);
Tailwind
colors: {
  custom: {
    50: '#6da67b',
    500: '#288048',
    950: '#000000',
  },
}
SCSS
$custom: #288048;
$custom-light: #6da67b;
$custom-dark: #000000;
JSON
{
  "hex": "#288048",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 72
  },
  "hsl": {
    "h": 141.818,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.12028,
    "h": 151.8
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#288048
secondary
#B0548E
accent
#4CA8DC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #288048

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

Preview Lab → · Contrast checker → · Palette generator →

#288048 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva