#227A4D#227A4D

#227A4D is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.6% C 0.109 H 156.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#227A4D
RGBrgb(34, 122, 77)
HSLhsl(149, 56%, 31%)
HSVhsv(149, 72%, 48%)
CMYKcmyk(72.1%, 0%, 36.9%, 52.2%)
CIE-LABlab(45.35, -36.90, 17.37)
CIE-LCHlch(45.35, 40.79, 154.79°)
OKLaboklab(51.62% -0.0999 0.0437)
OKLCHoklch(51.62% 0.109 156.4)
XYZxyz(8.9579, 14.7940, 9.4032)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A4D #7A224F
analogous
#237A22 #227A4D #227A79
triadic
#227A4D #4D227A #7A4D22
tetradic
#227A4D #22237A #7A224F #7A7922
square
#227A4D #22237A #7A224F #7A7922
split-complementary
#227A4D #79227A #7A2223
monochromatic
#071A11 #154A2F #227A4D #2FAA6B #4ACD8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227A4D#FFFFFF#000000##FFFFFF
##227A4D1.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)
#79704A
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a4d;
/* rgb */ color: rgb(34, 122, 77);
/* oklch */ color: oklch(51.6% 0.109 156.4);
Tailwind
colors: {
  custom: {
    50: '#6aa17f',
    500: '#227a4d',
    950: '#000000',
  },
}
SCSS
$custom: #227a4d;
$custom-light: #6aa17f;
$custom-dark: #000000;
JSON
{
  "hex": "#227a4d",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 77
  },
  "hsl": {
    "h": 149.318,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51619,
    "c": 0.10906,
    "h": 156.4
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #227A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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