#227B3D#227B3D

#227B3D is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.126 H 149.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#227B3D
RGBrgb(34, 123, 61)
HSLhsl(138, 57%, 31%)
HSVhsv(138, 72%, 48%)
CMYKcmyk(72.4%, 0%, 50.4%, 51.8%)
CIE-LABlab(45.42, -40.40, 26.44)
CIE-LCHlch(45.42, 48.28, 146.80°)
OKLaboklab(51.58% -0.1088 0.0644)
OKLCHoklch(51.58% 0.126 149.4)
XYZxyz(8.5843, 14.8420, 6.8264)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B3D #7B2260
analogous
#337B22 #227B3D #227B69
triadic
#227B3D #3D227B #7B3D22
tetradic
#227B3D #22337B #7B2260 #7B6922
square
#227B3D #22337B #7B2260 #7B6922
split-complementary
#227B3D #69227B #7B2233
monochromatic
#071B0D #154B25 #227B3D #2FAB55 #4ACD72

Accessibility & contrast

On white

5.29
#227B3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#227B3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B3D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B3D#FFFFFF#000000##FFFFFF
##227B3D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7038
Deuteranopia (green-blind)
#716941
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b3d;
/* rgb */ color: rgb(34, 123, 61);
/* oklch */ color: oklch(51.6% 0.126 149.4);
Tailwind
colors: {
  custom: {
    50: '#6aa274',
    500: '#227b3d',
    950: '#000000',
  },
}
SCSS
$custom: #227b3d;
$custom-light: #6aa274;
$custom-dark: #000000;
JSON
{
  "hex": "#227b3d",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 61
  },
  "hsl": {
    "h": 138.202,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51584,
    "c": 0.1264,
    "h": 149.4
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#227B3D
secondary
#AE4B90
accent
#48B2E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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