#227A39#227A39

#227A39 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.129 H 148.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#227A39
RGBrgb(34, 122, 57)
HSLhsl(136, 56%, 31%)
HSVhsv(136, 72%, 48%)
CMYKcmyk(72.1%, 0%, 53.3%, 52.2%)
CIE-LABlab(45.02, -40.67, 28.10)
CIE-LCHlch(45.02, 49.43, 145.36°)
OKLaboklab(51.23% -0.1095 0.0679)
OKLCHoklch(51.23% 0.129 148.2)
XYZxyz(8.3571, 14.5536, 6.2388)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A39 #7A2263
analogous
#377A22 #227A39 #227A65
triadic
#227A39 #39227A #7A3922
tetradic
#227A39 #22377A #7A2263 #7A6522
square
#227A39 #22377A #7A2263 #7A6522
split-complementary
#227A39 #65227A #7A2237
monochromatic
#071A0C #154A23 #227A39 #2FAA4F #4ACD6C

Accessibility & contrast

On white

5.37
#227A39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#227A39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A39
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A39#FFFFFF#000000##FFFFFF
##227A391.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F33
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227a39;
/* rgb */ color: rgb(34, 122, 57);
/* oklch */ color: oklch(51.2% 0.129 148.2);
Tailwind
colors: {
  custom: {
    50: '#6aa171',
    500: '#227a39',
    950: '#000000',
  },
}
SCSS
$custom: #227a39;
$custom-light: #6aa171;
$custom-dark: #000000;
JSON
{
  "hex": "#227a39",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 57
  },
  "hsl": {
    "h": 135.682,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.12888,
    "h": 148.2
  },
  "luminance": 0.14555
}

Semantic roles & 50–950 ramp

primary
#227A39
secondary
#AD4B93
accent
#48B8E0
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227A39

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

Preview Lab → · Contrast checker → · Palette generator →

#227A39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva