#227B4D#227B4D

#227B4D is a mid, moderate green. Relative luminance 0.150; OKLCH L 51.9% C 0.111 H 156.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#227B4D
RGBrgb(34, 123, 77)
HSLhsl(149, 57%, 31%)
HSVhsv(149, 72%, 48%)
CMYKcmyk(72.4%, 0%, 37.4%, 51.8%)
CIE-LABlab(45.69, -37.32, 17.83)
CIE-LCHlch(45.69, 41.36, 154.47°)
OKLaboklab(51.9% -0.101 0.0448)
OKLCHoklch(51.9% 0.111 156.1)
XYZxyz(9.0814, 15.0408, 9.4443)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B4D #7B2250
analogous
#237B22 #227B4D #227B79
triadic
#227B4D #4D227B #7B4D22
tetradic
#227B4D #22237B #7B2250 #7B7922
square
#227B4D #22237B #7B2250 #7B7922
split-complementary
#227B4D #79227B #7B2223
monochromatic
#071B11 #154B2F #227B4D #2FAB6B #4ACD89

Accessibility & contrast

On white

5.24
#227B4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#227B4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B4D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B4D#FFFFFF#000000##FFFFFF
##227B4D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714A
Deuteranopia (green-blind)
#6F6950
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227b4d;
/* rgb */ color: rgb(34, 123, 77);
/* oklch */ color: oklch(51.9% 0.111 156.1);
Tailwind
colors: {
  custom: {
    50: '#6aa27f',
    500: '#227b4d',
    950: '#000000',
  },
}
SCSS
$custom: #227b4d;
$custom-light: #6aa27f;
$custom-dark: #000000;
JSON
{
  "hex": "#227b4d",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 77
  },
  "hsl": {
    "h": 148.989,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51898,
    "c": 0.1105,
    "h": 156.1
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#227B4D
secondary
#AE4B7E
accent
#4896E0
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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