#227214#227214

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

Color values

HEX#227214
RGBrgb(34, 114, 20)
HSLhsl(111, 70%, 26%)
HSVhsv(111, 82%, 45%)
CMYKcmyk(70.2%, 0%, 82.5%, 55.3%)
CIE-LABlab(41.88, -41.90, 41.47)
CIE-LCHlch(41.88, 58.95, 135.30°)
OKLaboklab(48.52% -0.1145 0.0924)
OKLCHoklch(48.52% 0.147 141.1)
XYZxyz(6.8029, 12.4245, 2.7013)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227214 #641472
analogous
#517214 #227214 #147235
triadic
#227214 #142272 #721422
tetradic
#227214 #145172 #641472 #723514
square
#227214 #145172 #641472 #723514
split-complementary
#227214 #351472 #721451
monochromatic
#081A05 #123E0B #227214 #32A61D #42D927

Accessibility & contrast

On white

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

On black

3.49
#227214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227214#FFFFFF#000000##FFFFFF
##2272141.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.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: #227214;
/* rgb */ color: rgb(34, 114, 20);
/* oklch */ color: oklch(48.5% 0.147 141.1);
Tailwind
colors: {
  custom: {
    50: '#6a9b5a',
    500: '#227214',
    950: '#000000',
  },
}
SCSS
$custom: #227214;
$custom-light: #6a9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#227214",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 111.064,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48524,
    "c": 0.14716,
    "h": 141.1
  },
  "luminance": 0.12425
}

Semantic roles & 50–950 ramp

primary
#227214
secondary
#9839A8
accent
#3BEDD2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227214

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

Preview Lab → · Contrast checker → · Palette generator →

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