#288117#288117

#288117 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.161 H 141.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#288117
RGBrgb(40, 129, 23)
HSLhsl(110, 70%, 30%)
HSVhsv(110, 82%, 51%)
CMYKcmyk(69%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.25, -45.76, 45.64)
CIE-LCHlch(47.25, 64.63, 135.08°)
OKLaboklab(53.03% -0.1252 0.1015)
OKLCHoklch(53.03% 0.161 141)
XYZxyz(8.8795, 16.2126, 3.4718)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288117 #701781
analogous
#5D8117 #288117 #17813B
triadic
#288117 #172881 #811728
tetradic
#288117 #175D81 #701781 #813B17
square
#288117 #175D81 #701781 #813B17
split-complementary
#288117 #3B1781 #81175D
monochromatic
#081A05 #184D0E #288117 #38B520 #51DB37

Accessibility & contrast

On white

4.95
#288117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#288117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288117
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288117#FFFFFF#000000##FFFFFF
##2881171.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#167D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #288117;
/* rgb */ color: rgb(40, 129, 23);
/* oklch */ color: oklch(53.0% 0.161 141.0);
Tailwind
colors: {
  custom: {
    50: '#70a65e',
    500: '#288117',
    950: '#000000',
  },
}
SCSS
$custom: #288117;
$custom-light: #70a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#288117",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 110.377,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53026,
    "c": 0.16114,
    "h": 141
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#288117
secondary
#A23EB5
accent
#3BEDD0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #288117

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

Preview Lab → · Contrast checker → · Palette generator →

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