#227314#227314

#227314 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.148 H 141.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#227314
RGBrgb(34, 115, 20)
HSLhsl(111, 70%, 26%)
HSVhsv(111, 83%, 45%)
CMYKcmyk(70.4%, 0%, 82.6%, 54.9%)
CIE-LABlab(42.23, -42.26, 41.80)
CIE-LCHlch(42.23, 59.44, 135.31°)
OKLaboklab(48.81% -0.1155 0.0931)
OKLCHoklch(48.81% 0.148 141.1)
XYZxyz(6.9163, 12.6513, 2.7391)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227314 #651473
analogous
#527314 #227314 #147336
triadic
#227314 #142273 #731422
tetradic
#227314 #145273 #651473 #733614
square
#227314 #145273 #651473 #733614
split-complementary
#227314 #361473 #731452
monochromatic
#081A05 #133F0B #227314 #31A71D #42DA28

Accessibility & contrast

On white

5.95
#227314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#227314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227314
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227314#FFFFFF#000000##FFFFFF
##2273141.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D611F
Tritanopia (blue-blind)
#116F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227314;
/* rgb */ color: rgb(34, 115, 20);
/* oklch */ color: oklch(48.8% 0.148 141.1);
Tailwind
colors: {
  custom: {
    50: '#6a9c5a',
    500: '#227314',
    950: '#000000',
  },
}
SCSS
$custom: #227314;
$custom-light: #6a9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#227314",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 111.158,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48814,
    "c": 0.14834,
    "h": 141.1
  },
  "luminance": 0.12652
}

Semantic roles & 50–950 ramp

primary
#227314
secondary
#993AA9
accent
#3BEDD3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227314

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

Preview Lab → · Contrast checker → · Palette generator →

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