#288316#288316

#288316 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.164 H 140.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#288316
RGBrgb(40, 131, 22)
HSLhsl(110, 71%, 30%)
HSVhsv(110, 83%, 51%)
CMYKcmyk(69.5%, 0%, 83.2%, 48.6%)
CIE-LABlab(47.93, -46.53, 46.58)
CIE-LCHlch(47.93, 65.84, 134.97°)
OKLaboklab(53.59% -0.1273 0.1033)
OKLCHoklch(53.59% 0.164 140.9)
XYZxyz(9.1357, 16.7407, 3.5087)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288316 #711683
analogous
#5E8316 #288316 #16833B
triadic
#288316 #162883 #831628
tetradic
#288316 #165E83 #711683 #833B16
square
#288316 #165E83 #711683 #833B16
split-complementary
#288316 #3B1683 #83165E
monochromatic
#081A04 #184F0D #288316 #38B71F #52DD36

Accessibility & contrast

On white

4.83
#288316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#288316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288316
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288316#FFFFFF#000000##FFFFFF
##2883161.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#167F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288316;
/* rgb */ color: rgb(40, 131, 22);
/* oklch */ color: oklch(53.6% 0.164 140.9);
Tailwind
colors: {
  custom: {
    50: '#70a85e',
    500: '#288316',
    950: '#000000',
  },
}
SCSS
$custom: #288316;
$custom-light: #70a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#288316",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 110.092,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.53588,
    "c": 0.16394,
    "h": 140.9
  },
  "luminance": 0.16742
}

Semantic roles & 50–950 ramp

primary
#288316
secondary
#A33DB7
accent
#3AEED0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #288316

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

Preview Lab → · Contrast checker → · Palette generator →

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