#227511#227511

#227511 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.152 H 140.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#227511
RGBrgb(34, 117, 17)
HSLhsl(110, 75%, 26%)
HSVhsv(110, 85%, 46%)
CMYKcmyk(70.9%, 0%, 85.5%, 54.1%)
CIE-LABlab(42.92, -43.16, 43.38)
CIE-LCHlch(42.92, 61.19, 134.86°)
OKLaboklab(49.38% -0.1181 0.0959)
OKLCHoklch(49.38% 0.152 140.9)
XYZxyz(7.1218, 13.1024, 2.6839)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227511 #641175
analogous
#547511 #227511 #117532
triadic
#227511 #112275 #751122
tetradic
#227511 #115475 #641175 #753211
square
#227511 #115475 #641175 #753211
split-complementary
#227511 #321175 #751154
monochromatic
#081B04 #124009 #227511 #32AA19 #42DF22

Accessibility & contrast

On white

5.80
#227511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#227511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227511
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227511#FFFFFF#000000##FFFFFF
##2275111.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#117163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227511;
/* rgb */ color: rgb(34, 117, 17);
/* oklch */ color: oklch(49.4% 0.152 140.9);
Tailwind
colors: {
  custom: {
    50: '#6b9e59',
    500: '#227511',
    950: '#000000',
  },
}
SCSS
$custom: #227511;
$custom-light: #6b9e59;
$custom-dark: #000000;
JSON
{
  "hex": "#227511",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 109.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49377,
    "c": 0.15214,
    "h": 140.9
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#227511
secondary
#9836AC
accent
#37F1D2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #227511

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

Preview Lab → · Contrast checker → · Palette generator →

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