#288952#288952

#288952 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.123 H 154.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#288952
RGBrgb(40, 137, 82)
HSLhsl(146, 55%, 35%)
HSVhsv(146, 71%, 54%)
CMYKcmyk(70.8%, 0%, 40.1%, 46.3%)
CIE-LABlab(50.63, -41.03, 21.61)
CIE-LCHlch(50.63, 46.37, 152.22°)
OKLaboklab(56.04% -0.1108 0.0539)
OKLCHoklch(56.04% 0.123 154.1)
XYZxyz(11.3427, 18.9504, 11.0410)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288952 #89285F
analogous
#2F8928 #288952 #288982
triadic
#288952 #522889 #895228
tetradic
#288952 #282F89 #89285F #898228
square
#288952 #282F89 #89285F #898228
split-complementary
#288952 #822889 #89282F
monochromatic
#0C2A19 #1A5A36 #288952 #36B86E #5CCF8E

Accessibility & contrast

On white

4.38
#288952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#288952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288952
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288952#FFFFFF#000000##000000
##2889521.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4E
Deuteranopia (green-blind)
#7D7556
Tritanopia (blue-blind)
#00877B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288952;
/* rgb */ color: rgb(40, 137, 82);
/* oklch */ color: oklch(56.0% 0.123 154.1);
Tailwind
colors: {
  custom: {
    50: '#6fac83',
    500: '#288952',
    950: '#000000',
  },
}
SCSS
$custom: #288952;
$custom-light: #6fac83;
$custom-dark: #000000;
JSON
{
  "hex": "#288952",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 82
  },
  "hsl": {
    "h": 145.979,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56035,
    "c": 0.12321,
    "h": 154.1
  },
  "luminance": 0.18952
}

Semantic roles & 50–950 ramp

primary
#288952
secondary
#B5588D
accent
#4A9EDE
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288952

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

Preview Lab → · Contrast checker → · Palette generator →

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