#218338#218338

#218338 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.142 H 147.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#218338
RGBrgb(33, 131, 56)
HSLhsl(134, 60%, 32%)
HSVhsv(134, 75%, 51%)
CMYKcmyk(74.8%, 0%, 57.3%, 48.6%)
CIE-LABlab(48.06, -44.43, 32.31)
CIE-LCHlch(48.06, 54.93, 143.97°)
OKLaboklab(53.74% -0.1196 0.0772)
OKLCHoklch(53.74% 0.142 147.2)
XYZxyz(9.4566, 16.8404, 6.4928)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218338 #83216C
analogous
#3B8321 #218338 #218369
triadic
#218338 #382183 #833821
tetradic
#218338 #213B83 #83216C #836921
square
#218338 #213B83 #83216C #836921
split-complementary
#218338 #692183 #83213B
monochromatic
#08210E #155223 #218338 #2DB44D #4CD26C

Accessibility & contrast

On white

4.81
#218338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#218338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218338
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218338#FFFFFF#000000##FFFFFF
##2183381.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857731
Deuteranopia (green-blind)
#796F3E
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #218338;
/* rgb */ color: rgb(33, 131, 56);
/* oklch */ color: oklch(53.7% 0.142 147.2);
Tailwind
colors: {
  custom: {
    50: '#6ca871',
    500: '#218338',
    950: '#000000',
  },
}
SCSS
$custom: #218338;
$custom-light: #6ca871;
$custom-dark: #000000;
JSON
{
  "hex": "#218338",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 134.082,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.14236,
    "h": 147.2
  },
  "luminance": 0.16841
}

Semantic roles & 50–950 ramp

primary
#218338
secondary
#B54B9C
accent
#45BEE3
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #218338

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

Preview Lab → · Contrast checker → · Palette generator →

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