#218017#218017

#218017 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.162 H 141.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#218017
RGBrgb(33, 128, 23)
HSLhsl(114, 70%, 30%)
HSVhsv(114, 82%, 50%)
CMYKcmyk(74.2%, 0%, 82%, 49.8%)
CIE-LABlab(46.74, -46.83, 45.09)
CIE-LCHlch(46.74, 65.01, 136.09°)
OKLaboklab(52.55% -0.1276 0.1004)
OKLCHoklch(52.55% 0.162 141.8)
XYZxyz(8.5005, 15.8226, 3.4165)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218017 #761780
analogous
#558017 #218017 #178042
triadic
#218017 #172180 #801721
tetradic
#218017 #175580 #761780 #804217
square
#218017 #175580 #761780 #804217
split-complementary
#218017 #421780 #801755
monochromatic
#071A05 #144C0E #218017 #2EB420 #46DB36

Accessibility & contrast

On white

5.04
#218017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#218017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218017
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218017#FFFFFF#000000##FFFFFF
##2180171.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#037C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #218017;
/* rgb */ color: rgb(33, 128, 23);
/* oklch */ color: oklch(52.6% 0.162 141.8);
Tailwind
colors: {
  custom: {
    50: '#6da65e',
    500: '#218017',
    950: '#000000',
  },
}
SCSS
$custom: #218017;
$custom-light: #6da65e;
$custom-dark: #000000;
JSON
{
  "hex": "#218017",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 114.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.16241,
    "h": 141.8
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#218017
secondary
#A93EB4
accent
#3BECDB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #218017

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

Preview Lab → · Contrast checker → · Palette generator →

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