#227148#227148

#227148 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.101 H 156.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#227148
RGBrgb(34, 113, 72)
HSLhsl(149, 54%, 29%)
HSVhsv(149, 70%, 44%)
CMYKcmyk(69.9%, 0%, 36.3%, 55.7%)
CIE-LABlab(42.18, -34.12, 16.00)
CIE-LCHlch(42.18, 37.68, 154.88°)
OKLaboklab(48.98% -0.0925 0.0403)
OKLCHoklch(48.98% 0.101 156.5)
XYZxyz(7.7338, 12.6174, 8.1575)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227148 #71224B
analogous
#247122 #227148 #227170
triadic
#227148 #482271 #714822
tetradic
#227148 #222471 #71224B #717022
square
#227148 #222471 #71224B #717022
split-complementary
#227148 #702271 #712224
monochromatic
#07180F #14422A #227148 #30A066 #46C784

Accessibility & contrast

On white

5.96
#227148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#227148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227148
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227148#FFFFFF#000000##FFFFFF
##2271481.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706845
Deuteranopia (green-blind)
#66614B
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227148;
/* rgb */ color: rgb(34, 113, 72);
/* oklch */ color: oklch(49.0% 0.101 156.5);
Tailwind
colors: {
  custom: {
    50: '#689a7b',
    500: '#227148',
    950: '#000000',
  },
}
SCSS
$custom: #227148;
$custom-light: #689a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#227148",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 72
  },
  "hsl": {
    "h": 148.861,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48979,
    "c": 0.10089,
    "h": 156.5
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#227148
secondary
#A44A79
accent
#4B97DD
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #227148

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

Preview Lab → · Contrast checker → · Palette generator →

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