#218124#218124

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

Color values

HEX#218124
RGBrgb(33, 129, 36)
HSLhsl(122, 59%, 32%)
HSVhsv(122, 74%, 51%)
CMYKcmyk(74.4%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.17, -46.13, 40.69)
CIE-LCHlch(47.17, 61.51, 138.59°)
OKLaboklab(52.94% -0.1251 0.093)
OKLCHoklch(52.94% 0.156 143.4)
XYZxyz(8.7953, 16.1502, 4.3225)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218124 #81217E
analogous
#4E8121 #218124 #218154
triadic
#218124 #242181 #812421
tetradic
#218124 #214E81 #81217E #815421
square
#218124 #214E81 #81217E #815421
split-complementary
#218124 #542181 #81214E
monochromatic
#082009 #155016 #218124 #2DB232 #4BD150

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218124#FFFFFF#000000##FFFFFF
##2181241.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)
#847416
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #218124;
/* rgb */ color: rgb(33, 129, 36);
/* oklch */ color: oklch(52.9% 0.156 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ca764',
    500: '#218124',
    950: '#000000',
  },
}
SCSS
$custom: #218124;
$custom-light: #6ca764;
$custom-dark: #000000;
JSON
{
  "hex": "#218124",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 121.875,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52938,
    "c": 0.1559,
    "h": 143.4
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#218124
secondary
#B44AB0
accent
#45DEE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #218124

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

Preview Lab → · Contrast checker → · Palette generator →

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