#288228#288228

#288228 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.152 H 143.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#288228
RGBrgb(40, 130, 40)
HSLhsl(120, 53%, 33%)
HSVhsv(120, 69%, 51%)
CMYKcmyk(69.2%, 0%, 69.2%, 49%)
CIE-LABlab(47.71, -44.71, 39.60)
CIE-LCHlch(47.71, 59.73, 138.47°)
OKLaboklab(53.45% -0.1214 0.0912)
OKLCHoklch(53.45% 0.152 143.1)
XYZxyz(9.2402, 16.5686, 4.7182)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288228 #822882
analogous
#558228 #288228 #288255
triadic
#288228 #282882 #822828
tetradic
#288228 #285582 #822882 #825528
square
#288228 #285582 #822882 #825528
split-complementary
#288228 #552882 #822855
monochromatic
#0B240B #1A531A #288228 #36B136 #59CC59

Accessibility & contrast

On white

4.87
#288228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#288228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288228
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288228#FFFFFF#000000##FFFFFF
##2882281.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761C
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#117E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288228;
/* rgb */ color: rgb(40, 130, 40);
/* oklch */ color: oklch(53.4% 0.152 143.1);
Tailwind
colors: {
  custom: {
    50: '#6fa767',
    500: '#288228',
    950: '#000000',
  },
}
SCSS
$custom: #288228;
$custom-light: #6fa767;
$custom-dark: #000000;
JSON
{
  "hex": "#288228",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53445,
    "c": 0.15187,
    "h": 143.1
  },
  "luminance": 0.1657
}

Semantic roles & 50–950 ramp

primary
#288228
secondary
#B155B1
accent
#4BDCDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #288228

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

Preview Lab → · Contrast checker → · Palette generator →

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