#288118#288118

#288118 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.161 H 141.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#288118
RGBrgb(40, 129, 24)
HSLhsl(111, 69%, 30%)
HSVhsv(111, 81%, 51%)
CMYKcmyk(69%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.26, -45.70, 45.32)
CIE-LCHlch(47.26, 64.36, 135.24°)
OKLaboklab(53.03% -0.1249 0.101)
OKLCHoklch(53.03% 0.161 141.1)
XYZxyz(8.8897, 16.2167, 3.5256)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288118 #711881
analogous
#5D8118 #288118 #18813C
triadic
#288118 #182881 #811828
tetradic
#288118 #185D81 #711881 #813C18
square
#288118 #185D81 #711881 #813C18
split-complementary
#288118 #3C1881 #81185D
monochromatic
#081A05 #184D0E #288118 #38B522 #52DA39

Accessibility & contrast

On white

4.95
#288118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#288118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288118
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288118#FFFFFF#000000##FFFFFF
##2881181.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#167D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #288118;
/* rgb */ color: rgb(40, 129, 24);
/* oklch */ color: oklch(53.0% 0.161 141.1);
Tailwind
colors: {
  custom: {
    50: '#70a65e',
    500: '#288118',
    950: '#000000',
  },
}
SCSS
$custom: #288118;
$custom-light: #70a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#288118",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 110.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.16065,
    "h": 141.1
  },
  "luminance": 0.16218
}

Semantic roles & 50–950 ramp

primary
#288118
secondary
#A340B5
accent
#3CEBD1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #288118

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

Preview Lab → · Contrast checker → · Palette generator →

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