#218730#218730

#218730 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.154 H 145.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#218730
RGBrgb(33, 135, 48)
HSLhsl(129, 61%, 33%)
HSVhsv(129, 76%, 53%)
CMYKcmyk(75.6%, 0%, 64.4%, 47.1%)
CIE-LABlab(49.33, -46.95, 37.71)
CIE-LCHlch(49.33, 60.21, 141.23°)
OKLaboklab(54.76% -0.1267 0.0881)
OKLCHoklch(54.76% 0.154 145.2)
XYZxyz(9.8240, 17.8636, 5.7260)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218730 #872178
analogous
#458721 #218730 #218763
triadic
#218730 #302187 #873021
tetradic
#218730 #214587 #872178 #876321
square
#218730 #214587 #872178 #876321
split-complementary
#218730 #632187 #872145
monochromatic
#09250D #15561F #218730 #2DB841 #4FD462

Accessibility & contrast

On white

4.59
#218730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#218730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #218730
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218730#FFFFFF#000000##FFFFFF
##2187301.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A26
Deuteranopia (green-blind)
#7E7237
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #218730;
/* rgb */ color: rgb(33, 135, 48);
/* oklch */ color: oklch(54.8% 0.154 145.2);
Tailwind
colors: {
  custom: {
    50: '#6dab6c',
    500: '#218730',
    950: '#000000',
  },
}
SCSS
$custom: #218730;
$custom-light: #6dab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#218730",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 128.824,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54764,
    "c": 0.15437,
    "h": 145.2
  },
  "luminance": 0.17865
}

Semantic roles & 50–950 ramp

primary
#218730
secondary
#B74DA7
accent
#44CCE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #218730

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

Preview Lab → · Contrast checker → · Palette generator →

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