#288017#288017

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

Color values

HEX#288017
RGBrgb(40, 128, 23)
HSLhsl(110, 70%, 30%)
HSVhsv(110, 82%, 50%)
CMYKcmyk(68.8%, 0%, 82%, 49.8%)
CIE-LABlab(46.91, -45.41, 45.31)
CIE-LCHlch(46.91, 64.15, 135.06°)
OKLaboklab(52.74% -0.1242 0.1008)
OKLCHoklch(52.74% 0.16 140.9)
XYZxyz(8.7484, 15.9504, 3.4281)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288017 #6F1780
analogous
#5C8017 #288017 #17803B
triadic
#288017 #172880 #801728
tetradic
#288017 #175C80 #6F1780 #803B17
square
#288017 #175C80 #6F1780 #803B17
split-complementary
#288017 #3B1780 #80175C
monochromatic
#081A05 #184C0E #288017 #38B420 #51DB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288017#FFFFFF#000000##FFFFFF
##2880171.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)
#796D24
Tritanopia (blue-blind)
#177C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #288017;
/* rgb */ color: rgb(40, 128, 23);
/* oklch */ color: oklch(52.7% 0.160 140.9);
Tailwind
colors: {
  custom: {
    50: '#70a65e',
    500: '#288017',
    950: '#000000',
  },
}
SCSS
$custom: #288017;
$custom-light: #70a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#288017",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 110.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.15997,
    "h": 140.9
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#288017
secondary
#A13EB4
accent
#3BECD0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #288017

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

Preview Lab → · Contrast checker → · Palette generator →

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