#218126#218126

#218126 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.154 H 143.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#218126
RGBrgb(33, 129, 38)
HSLhsl(123, 59%, 32%)
HSVhsv(123, 74%, 51%)
CMYKcmyk(74.4%, 0%, 70.5%, 49.4%)
CIE-LABlab(47.19, -45.93, 39.86)
CIE-LCHlch(47.19, 60.82, 139.05°)
OKLaboklab(52.96% -0.1244 0.0916)
OKLCHoklch(52.96% 0.155 143.7)
XYZxyz(8.8267, 16.1628, 4.4879)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218126 #81217C
analogous
#4C8121 #218126 #218156
triadic
#218126 #262181 #812621
tetradic
#218126 #214C81 #81217C #815621
square
#218126 #214C81 #81217C #815621
split-complementary
#218126 #562181 #81214C
monochromatic
#082009 #155018 #218126 #2DB234 #4BD152

Accessibility & contrast

On white

4.96
#218126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#218126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218126
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218126#FFFFFF#000000##FFFFFF
##2181261.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #218126;
/* rgb */ color: rgb(33, 129, 38);
/* oklch */ color: oklch(53.0% 0.154 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ca765',
    500: '#218126',
    950: '#000000',
  },
}
SCSS
$custom: #218126;
$custom-light: #6ca765;
$custom-dark: #000000;
JSON
{
  "hex": "#218126",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 123.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52957,
    "c": 0.1545,
    "h": 143.7
  },
  "luminance": 0.16164
}

Semantic roles & 50–950 ramp

primary
#218126
secondary
#B44AAE
accent
#45DAE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #218126

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

Preview Lab → · Contrast checker → · Palette generator →

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