#288418#288418

#288418 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.164 H 141.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#288418
RGBrgb(40, 132, 24)
HSLhsl(111, 69%, 31%)
HSVhsv(111, 82%, 52%)
CMYKcmyk(69.7%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.28, -46.76, 46.29)
CIE-LCHlch(48.28, 65.80, 135.29°)
OKLaboklab(53.88% -0.1278 0.103)
OKLCHoklch(53.88% 0.164 141.1)
XYZxyz(9.2907, 17.0186, 3.6593)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288418 #741884
analogous
#5E8418 #288418 #18843E
triadic
#288418 #182884 #841828
tetradic
#288418 #185E84 #741884 #843E18
square
#288418 #185E84 #741884 #843E18
split-complementary
#288418 #3E1884 #84185E
monochromatic
#091C05 #18500F #288418 #38B821 #53DB3B

Accessibility & contrast

On white

4.77
#288418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#288418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288418
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288418#FFFFFF#000000##FFFFFF
##2884181.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#158070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288418;
/* rgb */ color: rgb(40, 132, 24);
/* oklch */ color: oklch(53.9% 0.164 141.1);
Tailwind
colors: {
  custom: {
    50: '#70a95f',
    500: '#288418',
    950: '#000000',
  },
}
SCSS
$custom: #288418;
$custom-light: #70a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#288418",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 111.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53883,
    "c": 0.16415,
    "h": 141.1
  },
  "luminance": 0.1702
}

Semantic roles & 50–950 ramp

primary
#288418
secondary
#A640B8
accent
#3CECD2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #288418

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

Preview Lab → · Contrast checker → · Palette generator →

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