#227333#227333

#227333 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.125 H 147.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#227333
RGBrgb(34, 115, 51)
HSLhsl(133, 54%, 29%)
HSVhsv(133, 70%, 45%)
CMYKcmyk(70.4%, 0%, 55.7%, 54.9%)
CIE-LABlab(42.52, -38.86, 28.24)
CIE-LCHlch(42.52, 48.04, 144.00°)
OKLaboklab(49.15% -0.1048 0.0678)
OKLCHoklch(49.15% 0.125 147.1)
XYZxyz(7.3874, 12.8398, 5.2203)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227333 #732262
analogous
#3A7322 #227333 #22735C
triadic
#227333 #332273 #733322
tetradic
#227333 #223A73 #732262 #735C22
square
#227333 #223A73 #732262 #735C22
split-complementary
#227333 #5C2273 #73223A
monochromatic
#07180A #14441E #227333 #30A248 #47C962

Accessibility & contrast

On white

5.89
#227333 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227333
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227333#FFFFFF#000000##FFFFFF
##2273331.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74692D
Deuteranopia (green-blind)
#6B6238
Tritanopia (blue-blind)
#037064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227333;
/* rgb */ color: rgb(34, 115, 51);
/* oklch */ color: oklch(49.1% 0.125 147.1);
Tailwind
colors: {
  custom: {
    50: '#699c6c',
    500: '#227333',
    950: '#000000',
  },
}
SCSS
$custom: #227333;
$custom-light: #699c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#227333",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 51
  },
  "hsl": {
    "h": 132.593,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.12486,
    "h": 147.1
  },
  "luminance": 0.12841
}

Semantic roles & 50–950 ramp

primary
#227333
secondary
#A64B93
accent
#4ABFDE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227333

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

Preview Lab → · Contrast checker → · Palette generator →

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