#288018#288018

#288018 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.159 H 141.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#288018
RGBrgb(40, 128, 24)
HSLhsl(111, 68%, 30%)
HSVhsv(111, 81%, 50%)
CMYKcmyk(68.8%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.91, -45.34, 44.99)
CIE-LCHlch(46.91, 63.88, 135.22°)
OKLaboklab(52.75% -0.124 0.1003)
OKLCHoklch(52.75% 0.159 141)
XYZxyz(8.7587, 15.9545, 3.4819)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288018 #701880
analogous
#5C8018 #288018 #18803C
triadic
#288018 #182880 #801828
tetradic
#288018 #185C80 #701880 #803C18
square
#288018 #185C80 #701880 #803C18
split-complementary
#288018 #3C1880 #80185C
monochromatic
#081A05 #184C0E #288018 #38B422 #51DA39

Accessibility & contrast

On white

5.01
#288018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#288018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288018
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288018#FFFFFF#000000##FFFFFF
##2880181.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837400
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#177C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #288018;
/* rgb */ color: rgb(40, 128, 24);
/* oklch */ color: oklch(52.7% 0.159 141.0);
Tailwind
colors: {
  custom: {
    50: '#70a65e',
    500: '#288018',
    950: '#000000',
  },
}
SCSS
$custom: #288018;
$custom-light: #70a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#288018",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 110.769,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.15947,
    "h": 141
  },
  "luminance": 0.15955
}

Semantic roles & 50–950 ramp

primary
#288018
secondary
#A240B4
accent
#3DEBD0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #288018

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

Preview Lab → · Contrast checker → · Palette generator →

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