#288918#288918

#288918 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.170 H 141.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#288918
RGBrgb(40, 137, 24)
HSLhsl(112, 70%, 32%)
HSVhsv(112, 82%, 54%)
CMYKcmyk(70.8%, 0%, 82.5%, 46.3%)
CIE-LABlab(49.99, -48.50, 47.89)
CIE-LCHlch(49.99, 68.16, 135.36°)
OKLaboklab(55.3% -0.1325 0.1064)
OKLCHoklch(55.3% 0.17 141.2)
XYZxyz(9.9851, 18.4073, 3.8907)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288918 #791889
analogous
#618918 #288918 #188941
triadic
#288918 #182889 #891828
tetradic
#288918 #186189 #791889 #894118
square
#288918 #186189 #791889 #894118
split-complementary
#288918 #411889 #891861
monochromatic
#0A2106 #19550F #288918 #37BD21 #55DD3E

Accessibility & contrast

On white

4.49
#288918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#288918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288918
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288918#FFFFFF#000000##000000
##2889181.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#118474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #288918;
/* rgb */ color: rgb(40, 137, 24);
/* oklch */ color: oklch(55.3% 0.170 141.2);
Tailwind
colors: {
  custom: {
    50: '#72ac60',
    500: '#288918',
    950: '#000000',
  },
}
SCSS
$custom: #288918;
$custom-light: #72ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#288918",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 111.504,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.1699,
    "h": 141.2
  },
  "luminance": 0.18408
}

Semantic roles & 50–950 ramp

primary
#288918
secondary
#AB40BD
accent
#3BEDD4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #288918

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

Preview Lab → · Contrast checker → · Palette generator →

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