#218123#218123

#218123 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.157 H 143.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#218123
RGBrgb(33, 129, 35)
HSLhsl(121, 59%, 32%)
HSVhsv(121, 74%, 51%)
CMYKcmyk(74.4%, 0%, 72.9%, 49.4%)
CIE-LABlab(47.16, -46.23, 41.09)
CIE-LCHlch(47.16, 61.85, 138.36°)
OKLaboklab(52.93% -0.1254 0.0938)
OKLCHoklch(52.93% 0.157 143.2)
XYZxyz(8.7803, 16.1442, 4.2432)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218123 #81217F
analogous
#4F8121 #218123 #218153
triadic
#218123 #232181 #812321
tetradic
#218123 #214F81 #81217F #815321
square
#218123 #214F81 #81217F #815321
split-complementary
#218123 #532181 #81214F
monochromatic
#082009 #155016 #218123 #2DB230 #4BD14E

Accessibility & contrast

On white

4.97
#218123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #218123
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218123#FFFFFF#000000##FFFFFF
##2181231.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847414
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #218123;
/* rgb */ color: rgb(33, 129, 35);
/* oklch */ color: oklch(52.9% 0.157 143.2);
Tailwind
colors: {
  custom: {
    50: '#6da764',
    500: '#218123',
    950: '#000000',
  },
}
SCSS
$custom: #218123;
$custom-light: #6da764;
$custom-dark: #000000;
JSON
{
  "hex": "#218123",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 121.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52929,
    "c": 0.15658,
    "h": 143.2
  },
  "luminance": 0.16145
}

Semantic roles & 50–950 ramp

primary
#218123
secondary
#B44AB1
accent
#45DFE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #218123

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

Preview Lab → · Contrast checker → · Palette generator →

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