#227147#227147

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

Color values

HEX#227147
RGBrgb(34, 113, 71)
HSLhsl(148, 54%, 29%)
HSVhsv(148, 70%, 44%)
CMYKcmyk(69.9%, 0%, 37.2%, 55.7%)
CIE-LABlab(42.16, -34.33, 16.56)
CIE-LCHlch(42.16, 38.12, 154.26°)
OKLaboklab(48.96% -0.093 0.0416)
OKLCHoklch(48.96% 0.102 155.9)
XYZxyz(7.7014, 12.6044, 7.9870)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227147 #71224C
analogous
#257122 #227147 #22716F
triadic
#227147 #472271 #714722
tetradic
#227147 #222571 #71224C #716F22
square
#227147 #222571 #71224C #716F22
split-complementary
#227147 #6F2271 #712225
monochromatic
#07180F #144229 #227147 #30A065 #46C783

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227147#FFFFFF#000000##FFFFFF
##2271471.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)
#706844
Deuteranopia (green-blind)
#66614A
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227147;
/* rgb */ color: rgb(34, 113, 71);
/* oklch */ color: oklch(49.0% 0.102 155.9);
Tailwind
colors: {
  custom: {
    50: '#689a7a',
    500: '#227147',
    950: '#000000',
  },
}
SCSS
$custom: #227147;
$custom-light: #689a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#227147",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 71
  },
  "hsl": {
    "h": 148.101,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48956,
    "c": 0.1019,
    "h": 155.9
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#227147
secondary
#A44A7A
accent
#4B99DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #227147

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

Preview Lab → · Contrast checker → · Palette generator →

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