#227A4B#227A4B

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

Color values

HEX#227A4B
RGBrgb(34, 122, 75)
HSLhsl(148, 56%, 31%)
HSVhsv(148, 72%, 48%)
CMYKcmyk(72.1%, 0%, 38.5%, 52.2%)
CIE-LABlab(45.31, -37.33, 18.47)
CIE-LCHlch(45.31, 41.65, 153.67°)
OKLaboklab(51.57% -0.1009 0.0463)
OKLCHoklch(51.57% 0.111 155.4)
XYZxyz(8.8884, 14.7662, 9.0370)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A4B #7A2251
analogous
#257A22 #227A4B #227A77
triadic
#227A4B #4B227A #7A4B22
tetradic
#227A4B #22257A #7A2251 #7A7722
square
#227A4B #22257A #7A2251 #7A7722
split-complementary
#227A4B #77227A #7A2225
monochromatic
#071A10 #154A2E #227A4B #2FAA68 #4ACD87

Accessibility & contrast

On white

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

On black

3.95
#227A4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227A4B#FFFFFF#000000##FFFFFF
##227A4B1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797048
Deuteranopia (green-blind)
#6E684E
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a4b;
/* rgb */ color: rgb(34, 122, 75);
/* oklch */ color: oklch(51.6% 0.111 155.4);
Tailwind
colors: {
  custom: {
    50: '#6aa17d',
    500: '#227a4b',
    950: '#000000',
  },
}
SCSS
$custom: #227a4b;
$custom-light: #6aa17d;
$custom-dark: #000000;
JSON
{
  "hex": "#227a4b",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 75
  },
  "hsl": {
    "h": 147.955,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51574,
    "c": 0.11104,
    "h": 155.4
  },
  "luminance": 0.14767
}

Semantic roles & 50–950 ramp

primary
#227A4B
secondary
#AD4B7F
accent
#4899E0
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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