#227B39#227B39

#227B39 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.130 H 148.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#227B39
RGBrgb(34, 123, 57)
HSLhsl(136, 57%, 31%)
HSVhsv(136, 72%, 48%)
CMYKcmyk(72.4%, 0%, 53.7%, 51.8%)
CIE-LABlab(45.36, -41.06, 28.52)
CIE-LCHlch(45.36, 49.99, 145.21°)
OKLaboklab(51.52% -0.1106 0.0688)
OKLCHoklch(51.52% 0.13 148.1)
XYZxyz(8.4805, 14.8005, 6.2799)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B39 #7B2264
analogous
#377B22 #227B39 #227B65
triadic
#227B39 #39227B #7B3922
tetradic
#227B39 #22377B #7B2264 #7B6522
square
#227B39 #22377B #7B2264 #7B6522
split-complementary
#227B39 #65227B #7B2237
monochromatic
#071B0D #154B23 #227B39 #2FAB4F #4ACD6C

Accessibility & contrast

On white

5.30
#227B39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#227B39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B39
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B39#FFFFFF#000000##FFFFFF
##227B391.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7033
Deuteranopia (green-blind)
#72683E
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b39;
/* rgb */ color: rgb(34, 123, 57);
/* oklch */ color: oklch(51.5% 0.130 148.1);
Tailwind
colors: {
  custom: {
    50: '#6aa271',
    500: '#227b39',
    950: '#000000',
  },
}
SCSS
$custom: #227b39;
$custom-light: #6aa271;
$custom-dark: #000000;
JSON
{
  "hex": "#227b39",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 57
  },
  "hsl": {
    "h": 135.506,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.13025,
    "h": 148.1
  },
  "luminance": 0.14801
}

Semantic roles & 50–950 ramp

primary
#227B39
secondary
#AE4B94
accent
#48B9E0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227B39

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

Preview Lab → · Contrast checker → · Palette generator →

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