#227D34#227D34

#227D34 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.138 H 146.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#227D34
RGBrgb(34, 125, 52)
HSLhsl(132, 57%, 31%)
HSVhsv(132, 73%, 49%)
CMYKcmyk(72.8%, 0%, 58.4%, 51%)
CIE-LABlab(45.98, -42.58, 31.88)
CIE-LCHlch(45.98, 53.19, 143.18°)
OKLaboklab(52.01% -0.1148 0.0759)
OKLCHoklch(52.01% 0.138 146.5)
XYZxyz(8.6125, 15.2543, 5.7386)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D34 #7D226B
analogous
#3D7D22 #227D34 #227D61
triadic
#227D34 #34227D #7D3422
tetradic
#227D34 #223D7D #7D226B #7D6122
square
#227D34 #223D7D #7D226B #7D6122
split-complementary
#227D34 #61227D #7D223D
monochromatic
#081D0C #154D20 #227D34 #2FAD48 #4BCE65

Accessibility & contrast

On white

5.18
#227D34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#227D34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D34
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D34#FFFFFF#000000##FFFFFF
##227D341.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712D
Deuteranopia (green-blind)
#746A3A
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d34;
/* rgb */ color: rgb(34, 125, 52);
/* oklch */ color: oklch(52.0% 0.138 146.5);
Tailwind
colors: {
  custom: {
    50: '#6ba46e',
    500: '#227d34',
    950: '#000000',
  },
}
SCSS
$custom: #227d34;
$custom-light: #6ba46e;
$custom-dark: #000000;
JSON
{
  "hex": "#227d34",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 52
  },
  "hsl": {
    "h": 131.868,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5201,
    "c": 0.13764,
    "h": 146.5
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

primary
#227D34
secondary
#B04B9C
accent
#47C2E0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227D34

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

Preview Lab → · Contrast checker → · Palette generator →

#227D34 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva