#288518#288518

#288518 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.165 H 141.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#288518
RGBrgb(40, 133, 24)
HSLhsl(111, 69%, 31%)
HSVhsv(111, 82%, 52%)
CMYKcmyk(69.9%, 0%, 82%, 47.8%)
CIE-LABlab(48.62, -47.11, 46.61)
CIE-LCHlch(48.62, 66.27, 135.30°)
OKLaboklab(54.17% -0.1287 0.1037)
OKLCHoklch(54.17% 0.165 141.2)
XYZxyz(9.4270, 17.2911, 3.7047)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288518 #751885
analogous
#5E8518 #288518 #18853E
triadic
#288518 #182885 #851828
tetradic
#288518 #185E85 #751885 #853E18
square
#288518 #185E85 #751885 #853E18
split-complementary
#288518 #3E1885 #85185E
monochromatic
#091D05 #18510F #288518 #38B921 #53DC3C

Accessibility & contrast

On white

4.71
#288518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#288518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288518
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288518#FFFFFF#000000##FFFFFF
##2885181.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#148171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288518;
/* rgb */ color: rgb(40, 133, 24);
/* oklch */ color: oklch(54.2% 0.165 141.2);
Tailwind
colors: {
  custom: {
    50: '#71a95f',
    500: '#288518',
    950: '#000000',
  },
}
SCSS
$custom: #288518;
$custom-light: #71a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#288518",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 111.193,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54166,
    "c": 0.1653,
    "h": 141.2
  },
  "luminance": 0.17292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288518

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

Preview Lab → · Contrast checker → · Palette generator →

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