#288F22#288F22

#288F22 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.172 H 142.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#288F22
RGBrgb(40, 143, 34)
HSLhsl(117, 62%, 35%)
HSVhsv(117, 76%, 56%)
CMYKcmyk(72%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.07, -49.87, 46.55)
CIE-LCHlch(52.07, 68.21, 136.97°)
OKLaboklab(57.05% -0.1357 0.105)
OKLCHoklch(57.05% 0.172 142.3)
XYZxyz(10.9856, 20.2103, 4.8351)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F22 #89228F
analogous
#5F8F22 #288F22 #228F52
triadic
#288F22 #22288F #8F2228
tetradic
#288F22 #225F8F #89228F #8F5222
square
#288F22 #225F8F #89228F #8F5222
split-complementary
#288F22 #52228F #8F225F
monochromatic
#0C2C0A #1A5E16 #288F22 #36C02E #5CD755

Accessibility & contrast

On white

4.16
#288F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#288F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F22
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F22#FFFFFF#000000##000000
##288F221.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#098B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f22;
/* rgb */ color: rgb(40, 143, 34);
/* oklch */ color: oklch(57.0% 0.172 142.3);
Tailwind
colors: {
  custom: {
    50: '#72b165',
    500: '#288f22',
    950: '#000000',
  },
}
SCSS
$custom: #288f22;
$custom-light: #72b165;
$custom-dark: #000000;
JSON
{
  "hex": "#288f22",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 116.697,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.17156,
    "h": 142.3
  },
  "luminance": 0.20212
}

Semantic roles & 50–950 ramp

primary
#288F22
secondary
#B552BA
accent
#43E5DC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288F22

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

Preview Lab → · Contrast checker → · Palette generator →

#288F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva