#227340#227340

#227340 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.4% C 0.112 H 151.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#227340
RGBrgb(34, 115, 64)
HSLhsl(142, 54%, 29%)
HSVhsv(142, 70%, 45%)
CMYKcmyk(70.4%, 0%, 44.3%, 54.9%)
CIE-LABlab(42.72, -36.61, 21.32)
CIE-LCHlch(42.72, 42.37, 149.78°)
OKLaboklab(49.37% -0.0987 0.0527)
OKLCHoklch(49.37% 0.112 151.9)
XYZxyz(7.7152, 12.9709, 6.9465)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227340 #732255
analogous
#2D7322 #227340 #227369
triadic
#227340 #402273 #734022
tetradic
#227340 #222D73 #732255 #736922
square
#227340 #222D73 #732255 #736922
split-complementary
#227340 #692273 #73222D
monochromatic
#07180D #144426 #227340 #30A25A #47C977

Accessibility & contrast

On white

5.84
#227340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#227340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227340
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227340#FFFFFF#000000##FFFFFF
##2273401.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693C
Deuteranopia (green-blind)
#696243
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227340;
/* rgb */ color: rgb(34, 115, 64);
/* oklch */ color: oklch(49.4% 0.112 151.9);
Tailwind
colors: {
  custom: {
    50: '#689c75',
    500: '#227340',
    950: '#000000',
  },
}
SCSS
$custom: #227340;
$custom-light: #689c75;
$custom-dark: #000000;
JSON
{
  "hex": "#227340",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 64
  },
  "hsl": {
    "h": 142.222,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49374,
    "c": 0.11195,
    "h": 151.9
  },
  "luminance": 0.12972
}

Semantic roles & 50–950 ramp

primary
#227340
secondary
#A64B84
accent
#4AA7DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #227340

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

Preview Lab → · Contrast checker → · Palette generator →

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