#227941#227941

#227941 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.1% C 0.120 H 151.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#227941
RGBrgb(34, 121, 65)
HSLhsl(141, 56%, 30%)
HSVhsv(141, 72%, 47%)
CMYKcmyk(71.9%, 0%, 46.3%, 52.5%)
CIE-LABlab(44.79, -38.89, 23.45)
CIE-LCHlch(44.79, 45.41, 148.91°)
OKLaboklab(51.09% -0.1048 0.0577)
OKLCHoklch(51.09% 0.12 151.2)
XYZxyz(8.4505, 14.3955, 7.3333)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227941 #79225A
analogous
#2F7922 #227941 #22796C
triadic
#227941 #412279 #794122
tetradic
#227941 #222F79 #79225A #796C22
square
#227941 #222F79 #79225A #796C22
split-complementary
#227941 #6C2279 #79222F
monochromatic
#07190E #154927 #227941 #2FA95B #49CC78

Accessibility & contrast

On white

5.41
#227941 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#227941 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227941
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227941#FFFFFF#000000##FFFFFF
##2279411.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3D
Deuteranopia (green-blind)
#6F6745
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227941;
/* rgb */ color: rgb(34, 121, 65);
/* oklch */ color: oklch(51.1% 0.120 151.2);
Tailwind
colors: {
  custom: {
    50: '#6aa076',
    500: '#227941',
    950: '#000000',
  },
}
SCSS
$custom: #227941;
$custom-light: #6aa076;
$custom-dark: #000000;
JSON
{
  "hex": "#227941",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 141.379,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.1196,
    "h": 151.2
  },
  "luminance": 0.14396
}

Semantic roles & 50–950 ramp

primary
#227941
secondary
#AC4B89
accent
#48AADF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #227941

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

Preview Lab → · Contrast checker → · Palette generator →

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