#288331#288331

#288331 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.146 H 144.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#288331
RGBrgb(40, 131, 49)
HSLhsl(126, 53%, 34%)
HSVhsv(126, 69%, 51%)
CMYKcmyk(69.5%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.14, -44.06, 35.92)
CIE-LCHlch(48.14, 56.84, 140.81°)
OKLaboklab(53.83% -0.1192 0.0844)
OKLCHoklch(53.83% 0.146 144.7)
XYZxyz(9.5451, 16.9045, 5.6650)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288331 #83287A
analogous
#4C8328 #288331 #28835E
triadic
#288331 #312883 #833128
tetradic
#288331 #284C83 #83287A #835E28
square
#288331 #284C83 #83287A #835E28
split-complementary
#288331 #5E2883 #83284C
monochromatic
#0B250E #1A541F #288331 #36B243 #59CC64

Accessibility & contrast

On white

4.79
#288331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#288331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288331
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288331#FFFFFF#000000##FFFFFF
##2883311.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857728
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#0C8071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288331;
/* rgb */ color: rgb(40, 131, 49);
/* oklch */ color: oklch(53.8% 0.146 144.7);
Tailwind
colors: {
  custom: {
    50: '#6fa86c',
    500: '#288331',
    950: '#000000',
  },
}
SCSS
$custom: #288331;
$custom-light: #6fa86c;
$custom-dark: #000000;
JSON
{
  "hex": "#288331",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 125.934,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53827,
    "c": 0.14604,
    "h": 144.7
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#288331
secondary
#B155A8
accent
#4BCEDD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #288331

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

Preview Lab → · Contrast checker → · Palette generator →

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