#227841#227841

#227841 is a mid, moderate green. Relative luminance 0.142; OKLCH L 50.8% C 0.118 H 151.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#227841
RGBrgb(34, 120, 65)
HSLhsl(142, 56%, 30%)
HSVhsv(142, 72%, 47%)
CMYKcmyk(71.7%, 0%, 45.8%, 52.9%)
CIE-LABlab(44.45, -38.48, 23.01)
CIE-LCHlch(44.45, 44.83, 149.13°)
OKLaboklab(50.81% -0.1037 0.0567)
OKLCHoklch(50.81% 0.118 151.3)
XYZxyz(8.3296, 14.1538, 7.2930)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227841 #782259
analogous
#2E7822 #227841 #22786C
triadic
#227841 #412278 #784122
tetradic
#227841 #222E78 #782259 #786C22
square
#227841 #222E78 #782259 #786C22
split-complementary
#227841 #6C2278 #78222E
monochromatic
#07190D #144827 #227841 #30A85B #49CB78

Accessibility & contrast

On white

5.48
#227841 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#227841 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227841
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227841#FFFFFF#000000##FFFFFF
##2278411.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227841;
/* rgb */ color: rgb(34, 120, 65);
/* oklch */ color: oklch(50.8% 0.118 151.3);
Tailwind
colors: {
  custom: {
    50: '#69a076',
    500: '#227841',
    950: '#000000',
  },
}
SCSS
$custom: #227841;
$custom-light: #69a076;
$custom-dark: #000000;
JSON
{
  "hex": "#227841",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 65
  },
  "hsl": {
    "h": 141.628,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50808,
    "c": 0.11818,
    "h": 151.3
  },
  "luminance": 0.14155
}

Semantic roles & 50–950 ramp

primary
#227841
secondary
#AB4B88
accent
#49A9DF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #227841

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

Preview Lab → · Contrast checker → · Palette generator →

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