#218127#218127

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

Color values

HEX#218127
RGBrgb(33, 129, 39)
HSLhsl(124, 59%, 32%)
HSVhsv(124, 74%, 51%)
CMYKcmyk(74.4%, 0%, 69.8%, 49.4%)
CIE-LABlab(47.20, -45.83, 39.43)
CIE-LCHlch(47.20, 60.46, 139.29°)
OKLaboklab(52.97% -0.1241 0.0908)
OKLCHoklch(52.97% 0.154 143.8)
XYZxyz(8.8431, 16.1693, 4.5740)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218127 #81217B
analogous
#4B8121 #218127 #218157
triadic
#218127 #272181 #812721
tetradic
#218127 #214B81 #81217B #815721
square
#218127 #214B81 #81217B #815721
split-complementary
#218127 #572181 #81214B
monochromatic
#08200A #155018 #218127 #2DB236 #4BD154

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218127#FFFFFF#000000##FFFFFF
##2181271.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)
#84751B
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #218127;
/* rgb */ color: rgb(33, 129, 39);
/* oklch */ color: oklch(53.0% 0.154 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ca766',
    500: '#218127',
    950: '#000000',
  },
}
SCSS
$custom: #218127;
$custom-light: #6ca766;
$custom-dark: #000000;
JSON
{
  "hex": "#218127",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 123.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52967,
    "c": 0.15378,
    "h": 143.8
  },
  "luminance": 0.1617
}

Semantic roles & 50–950 ramp

primary
#218127
secondary
#B44AAD
accent
#45D9E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #218127

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

Preview Lab → · Contrast checker → · Palette generator →

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