#218038#218038

#218038 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.138 H 147.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#218038
RGBrgb(33, 128, 56)
HSLhsl(135, 59%, 32%)
HSVhsv(135, 74%, 50%)
CMYKcmyk(74.2%, 0%, 56.3%, 49.8%)
CIE-LABlab(47.03, -43.30, 31.08)
CIE-LCHlch(47.03, 53.30, 144.33°)
OKLaboklab(52.89% -0.1166 0.0744)
OKLCHoklch(52.89% 0.138 147.4)
XYZxyz(9.0595, 16.0462, 6.3604)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218038 #802169
analogous
#3A8021 #218038 #218068
triadic
#218038 #382180 #803821
tetradic
#218038 #213A80 #802169 #806821
square
#218038 #213A80 #802169 #806821
split-complementary
#218038 #682180 #80213A
monochromatic
#081F0D #144F23 #218038 #2EB14D #4BD16B

Accessibility & contrast

On white

4.99
#218038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#218038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218038
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218038#FFFFFF#000000##FFFFFF
##2180381.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827431
Deuteranopia (green-blind)
#766C3D
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #218038;
/* rgb */ color: rgb(33, 128, 56);
/* oklch */ color: oklch(52.9% 0.138 147.4);
Tailwind
colors: {
  custom: {
    50: '#6ba670',
    500: '#218038',
    950: '#000000',
  },
}
SCSS
$custom: #218038;
$custom-light: #6ba670;
$custom-dark: #000000;
JSON
{
  "hex": "#218038",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 56
  },
  "hsl": {
    "h": 134.526,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.13835,
    "h": 147.4
  },
  "luminance": 0.16047
}

Semantic roles & 50–950 ramp

primary
#218038
secondary
#B34A99
accent
#46BCE2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #218038

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

Preview Lab → · Contrast checker → · Palette generator →

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