#227548#227548

#227548 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.1% C 0.107 H 155.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#227548
RGBrgb(34, 117, 72)
HSLhsl(147, 55%, 30%)
HSVhsv(147, 71%, 46%)
CMYKcmyk(70.9%, 0%, 38.5%, 54.1%)
CIE-LABlab(43.55, -35.84, 17.84)
CIE-LCHlch(43.55, 40.04, 153.54°)
OKLaboklab(50.11% -0.097 0.0447)
OKLCHoklch(50.11% 0.107 155.3)
XYZxyz(8.1899, 13.5296, 8.3095)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227548 #75224F
analogous
#257522 #227548 #227572
triadic
#227548 #482275 #754822
tetradic
#227548 #222575 #75224F #757222
square
#227548 #222575 #75224F #757222
split-complementary
#227548 #722275 #752225
monochromatic
#07180F #14462B #227548 #30A465 #48CA83

Accessibility & contrast

On white

5.67
#227548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#227548 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227548
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227548#FFFFFF#000000##FFFFFF
##2275481.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B45
Deuteranopia (green-blind)
#6A644B
Tritanopia (blue-blind)
#00746A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227548;
/* rgb */ color: rgb(34, 117, 72);
/* oklch */ color: oklch(50.1% 0.107 155.3);
Tailwind
colors: {
  custom: {
    50: '#699d7b',
    500: '#227548',
    950: '#000000',
  },
}
SCSS
$custom: #227548;
$custom-light: #699d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#227548",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 72
  },
  "hsl": {
    "h": 147.47,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50106,
    "c": 0.10678,
    "h": 155.3
  },
  "luminance": 0.13531
}

Semantic roles & 50–950 ramp

primary
#227548
secondary
#A84B7D
accent
#499ADE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #227548

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

Preview Lab → · Contrast checker → · Palette generator →

#227548 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva