#227948#227948

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

Color values

HEX#227948
RGBrgb(34, 121, 72)
HSLhsl(146, 56%, 30%)
HSVhsv(146, 72%, 47%)
CMYKcmyk(71.9%, 0%, 40.5%, 52.5%)
CIE-LABlab(44.92, -37.53, 19.66)
CIE-LCHlch(44.92, 42.36, 152.35°)
OKLaboklab(51.23% -0.1013 0.049)
OKLCHoklch(51.23% 0.113 154.2)
XYZxyz(8.6660, 14.4817, 8.4682)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227948 #792253
analogous
#277922 #227948 #227973
triadic
#227948 #482279 #794822
tetradic
#227948 #222779 #792253 #797322
square
#227948 #222779 #792253 #797322
split-complementary
#227948 #732279 #792227
monochromatic
#07190F #15492C #227948 #2FA964 #49CC82

Accessibility & contrast

On white

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

On black

3.90
#227948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227948#FFFFFF#000000##FFFFFF
##2279481.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F45
Deuteranopia (green-blind)
#6E674B
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227948;
/* rgb */ color: rgb(34, 121, 72);
/* oklch */ color: oklch(51.2% 0.113 154.2);
Tailwind
colors: {
  custom: {
    50: '#6aa07b',
    500: '#227948',
    950: '#000000',
  },
}
SCSS
$custom: #227948;
$custom-light: #6aa07b;
$custom-dark: #000000;
JSON
{
  "hex": "#227948",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 146.207,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.11259,
    "h": 154.2
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#227948
secondary
#AC4B82
accent
#489DDF
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #227948

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

Preview Lab → · Contrast checker → · Palette generator →

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