#227313#227313

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

Color values

HEX#227313
RGBrgb(34, 115, 19)
HSLhsl(111, 72%, 26%)
HSVhsv(111, 83%, 45%)
CMYKcmyk(70.4%, 0%, 83.5%, 54.9%)
CIE-LABlab(42.23, -42.32, 42.12)
CIE-LCHlch(42.23, 59.71, 135.14°)
OKLaboklab(48.81% -0.1157 0.0936)
OKLCHoklch(48.81% 0.149 141)
XYZxyz(6.9076, 12.6478, 2.6932)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227313 #641373
analogous
#527313 #227313 #137334
triadic
#227313 #132273 #731322
tetradic
#227313 #135273 #641373 #733413
square
#227313 #135273 #641373 #733413
split-complementary
#227313 #341373 #731352
monochromatic
#081A04 #123E0A #227313 #32A81C #42DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227313#FFFFFF#000000##FFFFFF
##2273131.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: #227313;
/* rgb */ color: rgb(34, 115, 19);
/* oklch */ color: oklch(48.8% 0.149 141.0);
Tailwind
colors: {
  custom: {
    50: '#6a9c5a',
    500: '#227313',
    950: '#000000',
  },
}
SCSS
$custom: #227313;
$custom-light: #6a9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#227313",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 110.625,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.14885,
    "h": 141
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#227313
secondary
#9838AA
accent
#39EED2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227313

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

Preview Lab → · Contrast checker → · Palette generator →

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