#227B3F#227B3F

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

Color values

HEX#227B3F
RGBrgb(34, 123, 63)
HSLhsl(140, 57%, 31%)
HSVhsv(140, 72%, 48%)
CMYKcmyk(72.4%, 0%, 48.8%, 51.8%)
CIE-LABlab(45.45, -40.05, 25.39)
CIE-LCHlch(45.45, 47.42, 147.63°)
OKLaboklab(51.62% -0.1078 0.0621)
OKLCHoklch(51.62% 0.124 150.1)
XYZxyz(8.6392, 14.8639, 7.1154)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B3F #7B225E
analogous
#317B22 #227B3F #227B6B
triadic
#227B3F #3F227B #7B3F22
tetradic
#227B3F #22317B #7B225E #7B6B22
square
#227B3F #22317B #7B225E #7B6B22
split-complementary
#227B3F #6B227B #7B2231
monochromatic
#071B0E #154B26 #227B3F #2FAB58 #4ACD75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227B3F#FFFFFF#000000##FFFFFF
##227B3F1.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)
#7C703A
Deuteranopia (green-blind)
#716943
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227b3f;
/* rgb */ color: rgb(34, 123, 63);
/* oklch */ color: oklch(51.6% 0.124 150.1);
Tailwind
colors: {
  custom: {
    50: '#6aa275',
    500: '#227b3f',
    950: '#000000',
  },
}
SCSS
$custom: #227b3f;
$custom-light: #6aa275;
$custom-dark: #000000;
JSON
{
  "hex": "#227b3f",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 63
  },
  "hsl": {
    "h": 139.551,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51618,
    "c": 0.12443,
    "h": 150.1
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

primary
#227B3F
secondary
#AE4B8E
accent
#48AEE0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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