#227414#227414

#227414 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.150 H 141.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#227414
RGBrgb(34, 116, 20)
HSLhsl(111, 71%, 27%)
HSVhsv(111, 83%, 45%)
CMYKcmyk(70.7%, 0%, 82.8%, 54.5%)
CIE-LABlab(42.58, -42.62, 42.13)
CIE-LCHlch(42.58, 59.93, 135.33°)
OKLaboklab(49.1% -0.1165 0.0938)
OKLCHoklch(49.1% 0.15 141.2)
XYZxyz(7.0310, 12.8806, 2.7774)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227414 #661474
analogous
#527414 #227414 #147436
triadic
#227414 #142274 #741422
tetradic
#227414 #145274 #661474 #743614
square
#227414 #145274 #661474 #743614
split-complementary
#227414 #361474 #741452
monochromatic
#081A05 #13400B #227414 #31A81D #42DA28

Accessibility & contrast

On white

5.87
#227414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#227414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227414
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227414#FFFFFF#000000##FFFFFF
##2274141.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#117062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227414;
/* rgb */ color: rgb(34, 116, 20);
/* oklch */ color: oklch(49.1% 0.150 141.2);
Tailwind
colors: {
  custom: {
    50: '#6b9d5a',
    500: '#227414',
    950: '#000000',
  },
}
SCSS
$custom: #227414;
$custom-light: #6b9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#227414",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 20
  },
  "hsl": {
    "h": 111.25,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49104,
    "c": 0.14954,
    "h": 141.2
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#227414
secondary
#9A3AAA
accent
#3AEDD3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227414

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

Preview Lab → · Contrast checker → · Palette generator →

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