#227336#227336

#227336 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.122 H 148.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#227336
RGBrgb(34, 115, 54)
HSLhsl(135, 54%, 29%)
HSVhsv(135, 70%, 45%)
CMYKcmyk(70.4%, 0%, 53%, 54.9%)
CIE-LABlab(42.56, -38.39, 26.68)
CIE-LCHlch(42.56, 46.75, 145.20°)
OKLaboklab(49.19% -0.1035 0.0645)
OKLCHoklch(49.19% 0.122 148.1)
XYZxyz(7.4557, 12.8671, 5.5800)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227336 #73225F
analogous
#377322 #227336 #22735F
triadic
#227336 #362273 #733622
tetradic
#227336 #223773 #73225F #735F22
square
#227336 #223773 #73225F #735F22
split-complementary
#227336 #5F2273 #732237
monochromatic
#07180B #144420 #227336 #30A24C #47C967

Accessibility & contrast

On white

5.88
#227336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#227336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227336
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227336#FFFFFF#000000##FFFFFF
##2273361.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746931
Deuteranopia (green-blind)
#6A623A
Tritanopia (blue-blind)
#017165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227336;
/* rgb */ color: rgb(34, 115, 54);
/* oklch */ color: oklch(49.2% 0.122 148.1);
Tailwind
colors: {
  custom: {
    50: '#699c6e',
    500: '#227336',
    950: '#000000',
  },
}
SCSS
$custom: #227336;
$custom-light: #699c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#227336",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 54
  },
  "hsl": {
    "h": 134.815,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49193,
    "c": 0.12197,
    "h": 148.1
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#227336
secondary
#A64B90
accent
#4AB9DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227336

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

Preview Lab → · Contrast checker → · Palette generator →

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