#227115#227115

#227115 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.145 H 141.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#227115
RGBrgb(34, 113, 21)
HSLhsl(112, 69%, 26%)
HSVhsv(112, 81%, 44%)
CMYKcmyk(69.9%, 0%, 81.4%, 55.7%)
CIE-LABlab(41.54, -41.47, 40.80)
CIE-LCHlch(41.54, 58.17, 135.47°)
OKLaboklab(48.24% -0.1133 0.0912)
OKLCHoklch(48.24% 0.145 141.2)
XYZxyz(6.6998, 12.2038, 2.7118)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227115 #641571
analogous
#507115 #227115 #157136
triadic
#227115 #152271 #711522
tetradic
#227115 #155071 #641571 #713615
square
#227115 #155071 #641571 #713615
split-complementary
#227115 #361571 #711550
monochromatic
#081A05 #123D0B #227115 #32A51F #42D729

Accessibility & contrast

On white

6.10
#227115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#227115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227115
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227115#FFFFFF#000000##FFFFFF
##2271151.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#126D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #227115;
/* rgb */ color: rgb(34, 113, 21);
/* oklch */ color: oklch(48.2% 0.145 141.2);
Tailwind
colors: {
  custom: {
    50: '#6a9b5a',
    500: '#227115',
    950: '#000000',
  },
}
SCSS
$custom: #227115;
$custom-light: #6a9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#227115",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 111.522,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4824,
    "c": 0.14542,
    "h": 141.2
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#227115
secondary
#983BA7
accent
#3CEBD3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227115

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

Preview Lab → · Contrast checker → · Palette generator →

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