#227A3D#227A3D

#227A3D is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.125 H 149.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#227A3D
RGBrgb(34, 122, 61)
HSLhsl(138, 56%, 31%)
HSVhsv(138, 72%, 48%)
CMYKcmyk(72.1%, 0%, 50%, 52.2%)
CIE-LABlab(45.07, -40.00, 26.01)
CIE-LCHlch(45.07, 47.71, 146.97°)
OKLaboklab(51.3% -0.1077 0.0634)
OKLCHoklch(51.3% 0.125 149.5)
XYZxyz(8.4609, 14.5951, 6.7852)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A3D #7A225F
analogous
#337A22 #227A3D #227A69
triadic
#227A3D #3D227A #7A3D22
tetradic
#227A3D #22337A #7A225F #7A6922
square
#227A3D #22337A #7A225F #7A6922
split-complementary
#227A3D #69227A #7A2233
monochromatic
#071A0D #154A25 #227A3D #2FAA55 #4ACD72

Accessibility & contrast

On white

5.36
#227A3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#227A3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A3D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A3D#FFFFFF#000000##FFFFFF
##227A3D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F38
Deuteranopia (green-blind)
#706841
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a3d;
/* rgb */ color: rgb(34, 122, 61);
/* oklch */ color: oklch(51.3% 0.125 149.5);
Tailwind
colors: {
  custom: {
    50: '#6aa173',
    500: '#227a3d',
    950: '#000000',
  },
}
SCSS
$custom: #227a3d;
$custom-light: #6aa173;
$custom-dark: #000000;
JSON
{
  "hex": "#227a3d",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 61
  },
  "hsl": {
    "h": 138.409,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51301,
    "c": 0.125,
    "h": 149.5
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#227A3D
secondary
#AD4B8F
accent
#48B1E0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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