#227834#227834

#227834 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.131 H 146.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#227834
RGBrgb(34, 120, 52)
HSLhsl(133, 56%, 30%)
HSVhsv(133, 72%, 47%)
CMYKcmyk(71.7%, 0%, 56.7%, 52.9%)
CIE-LABlab(44.26, -40.67, 29.82)
CIE-LCHlch(44.26, 50.43, 143.75°)
OKLaboklab(50.59% -0.1097 0.0714)
OKLCHoklch(50.59% 0.131 146.9)
XYZxyz(7.9954, 14.0201, 5.5329)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227834 #782266
analogous
#3B7822 #227834 #22785F
triadic
#227834 #342278 #783422
tetradic
#227834 #223B78 #782266 #785F22
square
#227834 #223B78 #782266 #785F22
split-complementary
#227834 #5F2278 #78223B
monochromatic
#07190B #14481F #227834 #30A849 #49CB64

Accessibility & contrast

On white

5.52
#227834 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#227834 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227834
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227834#FFFFFF#000000##FFFFFF
##2278341.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D2E
Deuteranopia (green-blind)
#6F6639
Tritanopia (blue-blind)
#007569
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227834;
/* rgb */ color: rgb(34, 120, 52);
/* oklch */ color: oklch(50.6% 0.131 146.9);
Tailwind
colors: {
  custom: {
    50: '#6aa06d',
    500: '#227834',
    950: '#000000',
  },
}
SCSS
$custom: #227834;
$custom-light: #6aa06d;
$custom-dark: #000000;
JSON
{
  "hex": "#227834",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 52
  },
  "hsl": {
    "h": 132.558,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50588,
    "c": 0.13085,
    "h": 146.9
  },
  "luminance": 0.14021
}

Semantic roles & 50–950 ramp

primary
#227834
secondary
#AB4B97
accent
#49C0DF
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #227834

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

Preview Lab → · Contrast checker → · Palette generator →

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