#227440#227440

#227440 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.7% C 0.113 H 151.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#227440
RGBrgb(34, 116, 64)
HSLhsl(142, 55%, 29%)
HSVhsv(142, 71%, 45%)
CMYKcmyk(70.7%, 0%, 44.8%, 54.5%)
CIE-LABlab(43.06, -37.03, 21.77)
CIE-LCHlch(43.06, 42.95, 149.54°)
OKLaboklab(49.66% -0.0998 0.0538)
OKLCHoklch(49.66% 0.113 151.7)
XYZxyz(7.8298, 13.2002, 6.9847)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227440 #742256
analogous
#2D7422 #227440 #227469
triadic
#227440 #402274 #744022
tetradic
#227440 #222D74 #742256 #746922
square
#227440 #222D74 #742256 #746922
split-complementary
#227440 #692274 #74222D
monochromatic
#07180D #144526 #227440 #30A35A #47C977

Accessibility & contrast

On white

5.77
#227440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#227440 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227440
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227440#FFFFFF#000000##FFFFFF
##2274401.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3C
Deuteranopia (green-blind)
#6A6344
Tritanopia (blue-blind)
#007267
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #227440;
/* rgb */ color: rgb(34, 116, 64);
/* oklch */ color: oklch(49.7% 0.113 151.7);
Tailwind
colors: {
  custom: {
    50: '#689d75',
    500: '#227440',
    950: '#000000',
  },
}
SCSS
$custom: #227440;
$custom-light: #689d75;
$custom-dark: #000000;
JSON
{
  "hex": "#227440",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 64
  },
  "hsl": {
    "h": 141.951,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49657,
    "c": 0.11341,
    "h": 151.7
  },
  "luminance": 0.13201
}

Semantic roles & 50–950 ramp

primary
#227440
secondary
#A74B85
accent
#4AA8DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #227440

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

Preview Lab → · Contrast checker → · Palette generator →

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