#218125#218125

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

Color values

HEX#218125
RGBrgb(33, 129, 37)
HSLhsl(123, 59%, 32%)
HSVhsv(123, 74%, 51%)
CMYKcmyk(74.4%, 0%, 71.3%, 49.4%)
CIE-LABlab(47.18, -46.03, 40.28)
CIE-LCHlch(47.18, 61.17, 138.82°)
OKLaboklab(52.95% -0.1248 0.0923)
OKLCHoklch(52.95% 0.155 143.5)
XYZxyz(8.8108, 16.1564, 4.4041)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218125 #81217D
analogous
#4D8121 #218125 #218155
triadic
#218125 #252181 #812521
tetradic
#218125 #214D81 #81217D #815521
square
#218125 #214D81 #81217D #815521
split-complementary
#218125 #552181 #81214D
monochromatic
#082009 #155017 #218125 #2DB233 #4BD151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##218125#FFFFFF#000000##FFFFFF
##2181251.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)
#847417
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #218125;
/* rgb */ color: rgb(33, 129, 37);
/* oklch */ color: oklch(52.9% 0.155 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ca765',
    500: '#218125',
    950: '#000000',
  },
}
SCSS
$custom: #218125;
$custom-light: #6ca765;
$custom-dark: #000000;
JSON
{
  "hex": "#218125",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 122.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.15521,
    "h": 143.5
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#218125
secondary
#B44AAF
accent
#45DCE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #218125

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

Preview Lab → · Contrast checker → · Palette generator →

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