#288148#288148

#288148 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.122 H 151.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#288148
RGBrgb(40, 129, 72)
HSLhsl(142, 53%, 33%)
HSVhsv(142, 69%, 51%)
CMYKcmyk(69%, 0%, 44.2%, 49.4%)
CIE-LABlab(47.78, -39.69, 23.43)
CIE-LCHlch(47.78, 46.09, 149.44°)
OKLaboklab(53.63% -0.1071 0.0579)
OKLCHoklch(53.63% 0.122 151.6)
XYZxyz(9.8942, 16.6185, 8.8159)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288148 #812861
analogous
#348128 #288148 #288174
triadic
#288148 #482881 #814828
tetradic
#288148 #283481 #812861 #817428
square
#288148 #283481 #812861 #817428
split-complementary
#288148 #742881 #812834
monochromatic
#0B2414 #1A522E #288148 #36B062 #58CB82

Accessibility & contrast

On white

4.86
#288148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#288148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288148
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288148#FFFFFF#000000##FFFFFF
##2881481.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817644
Deuteranopia (green-blind)
#766E4C
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288148;
/* rgb */ color: rgb(40, 129, 72);
/* oklch */ color: oklch(53.6% 0.122 151.6);
Tailwind
colors: {
  custom: {
    50: '#6ea67c',
    500: '#288148',
    950: '#000000',
  },
}
SCSS
$custom: #288148;
$custom-light: #6ea67c;
$custom-dark: #000000;
JSON
{
  "hex": "#288148",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 72
  },
  "hsl": {
    "h": 141.573,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.12171,
    "h": 151.6
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288148

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

Preview Lab → · Contrast checker → · Palette generator →

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