#227947#227947

#227947 is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.2% C 0.114 H 153.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#227947
RGBrgb(34, 121, 71)
HSLhsl(146, 56%, 30%)
HSVhsv(146, 72%, 47%)
CMYKcmyk(71.9%, 0%, 41.3%, 52.5%)
CIE-LABlab(44.90, -37.73, 20.20)
CIE-LCHlch(44.90, 42.80, 151.83°)
OKLaboklab(51.21% -0.1018 0.0503)
OKLCHoklch(51.21% 0.114 153.7)
XYZxyz(8.6336, 14.4688, 8.2978)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227947 #792254
analogous
#297922 #227947 #227972
triadic
#227947 #472279 #794722
tetradic
#227947 #222979 #792254 #797222
square
#227947 #222979 #792254 #797222
split-complementary
#227947 #722279 #792229
monochromatic
#07190F #15492B #227947 #2FA963 #49CC81

Accessibility & contrast

On white

5.39
#227947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#227947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227947
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227947#FFFFFF#000000##FFFFFF
##2279471.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F44
Deuteranopia (green-blind)
#6E674A
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227947;
/* rgb */ color: rgb(34, 121, 71);
/* oklch */ color: oklch(51.2% 0.114 153.7);
Tailwind
colors: {
  custom: {
    50: '#6aa07a',
    500: '#227947',
    950: '#000000',
  },
}
SCSS
$custom: #227947;
$custom-light: #6aa07a;
$custom-dark: #000000;
JSON
{
  "hex": "#227947",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 71
  },
  "hsl": {
    "h": 145.517,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51209,
    "c": 0.11359,
    "h": 153.7
  },
  "luminance": 0.1447
}

Semantic roles & 50–950 ramp

primary
#227947
secondary
#AC4B83
accent
#489FDF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #227947

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

Preview Lab → · Contrast checker → · Palette generator →

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