#288152#288152

#288152 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.8% C 0.112 H 156.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#288152
RGBrgb(40, 129, 82)
HSLhsl(148, 53%, 33%)
HSVhsv(148, 69%, 51%)
CMYKcmyk(69%, 0%, 36.4%, 49.4%)
CIE-LABlab(47.96, -37.70, 18.04)
CIE-LCHlch(47.96, 41.79, 154.42°)
OKLaboklab(53.84% -0.1022 0.0454)
OKLCHoklch(53.84% 0.112 156.1)
XYZxyz(10.2474, 16.7597, 10.6759)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288152 #812857
analogous
#2A8128 #288152 #28817E
triadic
#288152 #522881 #815228
tetradic
#288152 #282A81 #812857 #817E28
square
#288152 #282A81 #812857 #817E28
split-complementary
#288152 #7E2881 #81282A
monochromatic
#0B2417 #1A5234 #288152 #36B070 #58CB8E

Accessibility & contrast

On white

4.83
#288152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#288152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288152
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288152#FFFFFF#000000##FFFFFF
##2881521.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80774F
Deuteranopia (green-blind)
#756F55
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288152;
/* rgb */ color: rgb(40, 129, 82);
/* oklch */ color: oklch(53.8% 0.112 156.1);
Tailwind
colors: {
  custom: {
    50: '#6ea683',
    500: '#288152',
    950: '#000000',
  },
}
SCSS
$custom: #288152;
$custom-light: #6ea683;
$custom-dark: #000000;
JSON
{
  "hex": "#288152",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 148.315,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53836,
    "c": 0.11179,
    "h": 156.1
  },
  "luminance": 0.16761
}

Semantic roles & 50–950 ramp

primary
#288152
secondary
#B05485
accent
#4C98DC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #288152

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

Preview Lab → · Contrast checker → · Palette generator →

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