#227118#227118

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

Color values

HEX#227118
RGBrgb(34, 113, 24)
HSLhsl(113, 65%, 27%)
HSVhsv(113, 79%, 44%)
CMYKcmyk(69.9%, 0%, 78.8%, 55.7%)
CIE-LABlab(41.56, -41.24, 39.73)
CIE-LCHlch(41.56, 57.27, 136.07°)
OKLaboklab(48.26% -0.1125 0.0894)
OKLCHoklch(48.26% 0.144 141.5)
XYZxyz(6.7293, 12.2156, 2.8672)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227118 #671871
analogous
#4F7118 #227118 #18713A
triadic
#227118 #182271 #711822
tetradic
#227118 #184F71 #671871 #713A18
square
#227118 #184F71 #671871 #713A18
split-complementary
#227118 #3A1871 #71184F
monochromatic
#081905 #133F0D #227118 #31A323 #43D330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227118#FFFFFF#000000##FFFFFF
##2271181.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)
#746605
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#116D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #227118;
/* rgb */ color: rgb(34, 113, 24);
/* oklch */ color: oklch(48.3% 0.144 141.5);
Tailwind
colors: {
  custom: {
    50: '#6a9b5c',
    500: '#227118',
    950: '#000000',
  },
}
SCSS
$custom: #227118;
$custom-light: #6a9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#227118",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 113.258,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48261,
    "c": 0.14372,
    "h": 141.5
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#227118
secondary
#9B3EA6
accent
#40E8D5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227118

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

Preview Lab → · Contrast checker → · Palette generator →

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