#227B38#227B38

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

Color values

HEX#227B38
RGBrgb(34, 123, 56)
HSLhsl(135, 57%, 31%)
HSVhsv(135, 72%, 48%)
CMYKcmyk(72.4%, 0%, 54.5%, 51.8%)
CIE-LABlab(45.35, -41.22, 29.03)
CIE-LCHlch(45.35, 50.41, 144.84°)
OKLaboklab(51.5% -0.111 0.0699)
OKLCHoklch(51.5% 0.131 147.8)
XYZxyz(8.4558, 14.7906, 6.1498)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B38 #7B2265
analogous
#397B22 #227B38 #227B64
triadic
#227B38 #38227B #7B3822
tetradic
#227B38 #22397B #7B2265 #7B6422
square
#227B38 #22397B #7B2265 #7B6422
split-complementary
#227B38 #64227B #7B2239
monochromatic
#071B0C #154B22 #227B38 #2FAB4E #4ACD6B

Accessibility & contrast

On white

5.31
#227B38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227B38
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B38#FFFFFF#000000##FFFFFF
##227B381.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227b38;
/* rgb */ color: rgb(34, 123, 56);
/* oklch */ color: oklch(51.5% 0.131 147.8);
Tailwind
colors: {
  custom: {
    50: '#6aa270',
    500: '#227b38',
    950: '#000000',
  },
}
SCSS
$custom: #227b38;
$custom-light: #6aa270;
$custom-dark: #000000;
JSON
{
  "hex": "#227b38",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 56
  },
  "hsl": {
    "h": 134.831,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.13121,
    "h": 147.8
  },
  "luminance": 0.14792
}

Semantic roles & 50–950 ramp

primary
#227B38
secondary
#AE4B95
accent
#48BAE0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227B38

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

Preview Lab → · Contrast checker → · Palette generator →

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