#288227#288227

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

Color values

HEX#288227
RGBrgb(40, 130, 39)
HSLhsl(119, 54%, 33%)
HSVhsv(119, 70%, 51%)
CMYKcmyk(69.2%, 0%, 70%, 49%)
CIE-LABlab(47.70, -44.82, 40.03)
CIE-LCHlch(47.70, 60.09, 138.23°)
OKLaboklab(53.44% -0.1217 0.092)
OKLCHoklch(53.44% 0.153 142.9)
XYZxyz(9.2234, 16.5619, 4.6298)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288227 #812782
analogous
#558227 #288227 #278253
triadic
#288227 #272882 #822728
tetradic
#288227 #275582 #812782 #825327
square
#288227 #275582 #812782 #825327
split-complementary
#288227 #532782 #822755
monochromatic
#0B240B #1A5319 #288227 #36B135 #58CD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288227#FFFFFF#000000##FFFFFF
##2882271.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)
#85761A
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#127E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288227;
/* rgb */ color: rgb(40, 130, 39);
/* oklch */ color: oklch(53.4% 0.153 142.9);
Tailwind
colors: {
  custom: {
    50: '#6fa766',
    500: '#288227',
    950: '#000000',
  },
}
SCSS
$custom: #288227;
$custom-light: #6fa766;
$custom-dark: #000000;
JSON
{
  "hex": "#288227",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 119.341,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53435,
    "c": 0.1526,
    "h": 142.9
  },
  "luminance": 0.16563
}

Semantic roles & 50–950 ramp

primary
#288227
secondary
#B053B1
accent
#4BDDDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #288227

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

Preview Lab → · Contrast checker → · Palette generator →

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