#227248#227248

#227248 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.102 H 156.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#227248
RGBrgb(34, 114, 72)
HSLhsl(149, 54%, 29%)
HSVhsv(149, 70%, 45%)
CMYKcmyk(70.2%, 0%, 36.8%, 55.3%)
CIE-LABlab(42.52, -34.55, 16.46)
CIE-LCHlch(42.52, 38.27, 154.52°)
OKLaboklab(49.26% -0.0936 0.0414)
OKLCHoklch(49.26% 0.102 156.2)
XYZxyz(7.8460, 12.8417, 8.1948)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227248 #72224C
analogous
#247222 #227248 #227270
triadic
#227248 #482272 #724822
tetradic
#227248 #222472 #72224C #727022
square
#227248 #222472 #72224C #727022
split-complementary
#227248 #702272 #722224
monochromatic
#07180F #14432A #227248 #30A166 #46C884

Accessibility & contrast

On white

5.88
#227248 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#227248 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227248
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227248#FFFFFF#000000##FFFFFF
##2272481.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716945
Deuteranopia (green-blind)
#67614B
Tritanopia (blue-blind)
#007167
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227248;
/* rgb */ color: rgb(34, 114, 72);
/* oklch */ color: oklch(49.3% 0.102 156.2);
Tailwind
colors: {
  custom: {
    50: '#689b7b',
    500: '#227248',
    950: '#000000',
  },
}
SCSS
$custom: #227248;
$custom-light: #689b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#227248",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 72
  },
  "hsl": {
    "h": 148.5,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49261,
    "c": 0.10237,
    "h": 156.2
  },
  "luminance": 0.12843
}

Semantic roles & 50–950 ramp

primary
#227248
secondary
#A54B7A
accent
#4A98DD
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #227248

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

Preview Lab → · Contrast checker → · Palette generator →

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