#227844#227844

#227844 is a mid, moderate green. Relative luminance 0.142; OKLCH L 50.9% C 0.115 H 152.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#227844
RGBrgb(34, 120, 68)
HSLhsl(144, 56%, 30%)
HSVhsv(144, 72%, 47%)
CMYKcmyk(71.7%, 0%, 43.3%, 52.9%)
CIE-LABlab(44.50, -37.91, 21.39)
CIE-LCHlch(44.50, 43.53, 150.57°)
OKLaboklab(50.87% -0.1022 0.053)
OKLCHoklch(50.87% 0.115 152.6)
XYZxyz(8.4188, 14.1895, 7.7629)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227844 #782256
analogous
#2B7822 #227844 #22786F
triadic
#227844 #442278 #784422
tetradic
#227844 #222B78 #782256 #786F22
square
#227844 #222B78 #782256 #786F22
split-complementary
#227844 #6F2278 #78222B
monochromatic
#07190E #144829 #227844 #30A85F #49CB7D

Accessibility & contrast

On white

5.47
#227844 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#227844 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227844
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227844#FFFFFF#000000##FFFFFF
##2278441.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E40
Deuteranopia (green-blind)
#6D6647
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227844;
/* rgb */ color: rgb(34, 120, 68);
/* oklch */ color: oklch(50.9% 0.115 152.6);
Tailwind
colors: {
  custom: {
    50: '#69a078',
    500: '#227844',
    950: '#000000',
  },
}
SCSS
$custom: #227844;
$custom-light: #69a078;
$custom-dark: #000000;
JSON
{
  "hex": "#227844",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 68
  },
  "hsl": {
    "h": 143.721,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.11516,
    "h": 152.6
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#227844
secondary
#AB4B85
accent
#49A4DF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #227844

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

Preview Lab → · Contrast checker → · Palette generator →

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