#218117#218117

#218117 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.8% C 0.164 H 141.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#218117
RGBrgb(33, 129, 23)
HSLhsl(114, 70%, 30%)
HSVhsv(114, 82%, 51%)
CMYKcmyk(74.4%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.09, -47.18, 45.42)
CIE-LCHlch(47.09, 65.49, 136.09°)
OKLaboklab(52.84% -0.1286 0.1011)
OKLCHoklch(52.84% 0.164 141.8)
XYZxyz(8.6316, 16.0847, 3.4602)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218117 #771781
analogous
#568117 #218117 #178142
triadic
#218117 #172181 #811721
tetradic
#218117 #175681 #771781 #814217
square
#218117 #175681 #771781 #814217
split-complementary
#218117 #421781 #811756
monochromatic
#071A05 #144D0E #218117 #2EB520 #47DB37

Accessibility & contrast

On white

4.98
#218117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#218117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218117
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218117#FFFFFF#000000##FFFFFF
##2181171.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#027D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #218117;
/* rgb */ color: rgb(33, 129, 23);
/* oklch */ color: oklch(52.8% 0.164 141.8);
Tailwind
colors: {
  custom: {
    50: '#6da75e',
    500: '#218117',
    950: '#000000',
  },
}
SCSS
$custom: #218117;
$custom-light: #6da75e;
$custom-dark: #000000;
JSON
{
  "hex": "#218117",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 114.34,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5284,
    "c": 0.16355,
    "h": 141.8
  },
  "luminance": 0.16086
}

Semantic roles & 50–950 ramp

primary
#218117
secondary
#AA3EB5
accent
#3BEDDC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #218117

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

Preview Lab → · Contrast checker → · Palette generator →

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