#227213#227213

#227213 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.148 H 141.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#227213
RGBrgb(34, 114, 19)
HSLhsl(111, 71%, 26%)
HSVhsv(111, 83%, 45%)
CMYKcmyk(70.2%, 0%, 83.3%, 55.3%)
CIE-LABlab(41.88, -41.96, 41.79)
CIE-LCHlch(41.88, 59.22, 135.12°)
OKLaboklab(48.52% -0.1147 0.0929)
OKLCHoklch(48.52% 0.148 141)
XYZxyz(6.7942, 12.4210, 2.6554)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227213 #631372
analogous
#517213 #227213 #137233
triadic
#227213 #132272 #721322
tetradic
#227213 #135172 #631372 #723313
square
#227213 #135172 #631372 #723313
split-complementary
#227213 #331372 #721351
monochromatic
#081A04 #123E0A #227213 #32A61C #41DB25

Accessibility & contrast

On white

6.03
#227213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#227213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227213
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227213#FFFFFF#000000##FFFFFF
##2272131.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6C601F
Tritanopia (blue-blind)
#126E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227213;
/* rgb */ color: rgb(34, 114, 19);
/* oklch */ color: oklch(48.5% 0.148 141.0);
Tailwind
colors: {
  custom: {
    50: '#6a9b5a',
    500: '#227213',
    950: '#000000',
  },
}
SCSS
$custom: #227213;
$custom-light: #6a9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#227213",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 110.526,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48518,
    "c": 0.14765,
    "h": 141
  },
  "luminance": 0.12422
}

Semantic roles & 50–950 ramp

primary
#227213
secondary
#9738A9
accent
#3AEED2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227213

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

Preview Lab → · Contrast checker → · Palette generator →

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