#227247#227247

#227247 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.103 H 155.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#227247
RGBrgb(34, 114, 71)
HSLhsl(148, 54%, 29%)
HSVhsv(148, 70%, 45%)
CMYKcmyk(70.2%, 0%, 37.7%, 55.3%)
CIE-LABlab(42.50, -34.77, 17.02)
CIE-LCHlch(42.50, 38.71, 153.92°)
OKLaboklab(49.24% -0.0941 0.0427)
OKLCHoklch(49.24% 0.103 155.6)
XYZxyz(7.8136, 12.8288, 8.0244)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227247 #72224D
analogous
#257222 #227247 #22726F
triadic
#227247 #472272 #724722
tetradic
#227247 #222572 #72224D #726F22
square
#227247 #222572 #72224D #726F22
split-complementary
#227247 #6F2272 #722225
monochromatic
#07180F #14432A #227247 #30A164 #46C882

Accessibility & contrast

On white

5.89
#227247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227247
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227247#FFFFFF#000000##FFFFFF
##2272471.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227247;
/* rgb */ color: rgb(34, 114, 71);
/* oklch */ color: oklch(49.2% 0.103 155.6);
Tailwind
colors: {
  custom: {
    50: '#689b7a',
    500: '#227247',
    950: '#000000',
  },
}
SCSS
$custom: #227247;
$custom-light: #689b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#227247",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 71
  },
  "hsl": {
    "h": 147.75,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49239,
    "c": 0.10337,
    "h": 155.6
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

primary
#227247
secondary
#A54B7B
accent
#4A99DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #227247

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

Preview Lab → · Contrast checker → · Palette generator →

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