#288016#288016

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

Color values

HEX#288016
RGBrgb(40, 128, 22)
HSLhsl(110, 71%, 29%)
HSVhsv(110, 83%, 50%)
CMYKcmyk(68.8%, 0%, 82.8%, 49.8%)
CIE-LABlab(46.90, -45.47, 45.62)
CIE-LCHlch(46.90, 64.41, 134.90°)
OKLaboklab(52.74% -0.1244 0.1013)
OKLCHoklch(52.74% 0.16 140.8)
XYZxyz(8.7386, 15.9465, 3.3764)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288016 #6E1680
analogous
#5D8016 #288016 #168039
triadic
#288016 #162880 #801628
tetradic
#288016 #165D80 #6E1680 #803916
square
#288016 #165D80 #6E1680 #803916
split-complementary
#288016 #391680 #80165D
monochromatic
#081A04 #184C0D #288016 #38B41F #51DC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288016#FFFFFF#000000##FFFFFF
##2880161.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)
#837300
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#177C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #288016;
/* rgb */ color: rgb(40, 128, 22);
/* oklch */ color: oklch(52.7% 0.160 140.8);
Tailwind
colors: {
  custom: {
    50: '#70a65d',
    500: '#288016',
    950: '#000000',
  },
}
SCSS
$custom: #288016;
$custom-light: #70a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#288016",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 109.811,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52736,
    "c": 0.16046,
    "h": 140.8
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#288016
secondary
#A03DB5
accent
#3AEDCF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #288016

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

Preview Lab → · Contrast checker → · Palette generator →

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