#227117#227117

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

Color values

HEX#227117
RGBrgb(34, 113, 23)
HSLhsl(113, 66%, 27%)
HSVhsv(113, 80%, 44%)
CMYKcmyk(69.9%, 0%, 79.6%, 55.7%)
CIE-LABlab(41.55, -41.32, 40.10)
CIE-LCHlch(41.55, 57.58, 135.86°)
OKLaboklab(48.25% -0.1128 0.09)
OKLCHoklch(48.25% 0.144 141.4)
XYZxyz(6.7191, 12.2115, 2.8134)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227117 #661771
analogous
#4F7117 #227117 #177139
triadic
#227117 #172271 #711722
tetradic
#227117 #174F71 #661771 #713917
square
#227117 #174F71 #661771 #713917
split-complementary
#227117 #391771 #71174F
monochromatic
#081905 #133E0D #227117 #31A421 #42D42E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227117#FFFFFF#000000##FFFFFF
##2271171.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)
#746603
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#126D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #227117;
/* rgb */ color: rgb(34, 113, 23);
/* oklch */ color: oklch(48.3% 0.144 141.4);
Tailwind
colors: {
  custom: {
    50: '#6a9b5b',
    500: '#227117',
    950: '#000000',
  },
}
SCSS
$custom: #227117;
$custom-light: #6a9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#227117",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 112.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48254,
    "c": 0.14431,
    "h": 141.4
  },
  "luminance": 0.12212
}

Semantic roles & 50–950 ramp

primary
#227117
secondary
#9A3DA7
accent
#3FE9D4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227117

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

Preview Lab → · Contrast checker → · Palette generator →

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