#227E30#227E30

#227E30 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.142 H 145.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#227E30
RGBrgb(34, 126, 48)
HSLhsl(129, 58%, 31%)
HSVhsv(129, 73%, 49%)
CMYKcmyk(73%, 0%, 61.9%, 50.6%)
CIE-LABlab(46.28, -43.50, 34.23)
CIE-LCHlch(46.28, 55.35, 141.80°)
OKLaboklab(52.24% -0.1174 0.0807)
OKLCHoklch(52.24% 0.142 145.5)
XYZxyz(8.6534, 15.4742, 5.3265)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E30 #7E2270
analogous
#427E22 #227E30 #227E5E
triadic
#227E30 #30227E #7E3022
tetradic
#227E30 #22427E #7E2270 #7E5E22
square
#227E30 #22427E #7E2270 #7E5E22
split-complementary
#227E30 #5E227E #7E2242
monochromatic
#081E0B #154E1E #227E30 #2FAE42 #4CCF60

Accessibility & contrast

On white

5.13
#227E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#227E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E30
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E30#FFFFFF#000000##FFFFFF
##227E301.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807228
Deuteranopia (green-blind)
#756B36
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e30;
/* rgb */ color: rgb(34, 126, 48);
/* oklch */ color: oklch(52.2% 0.142 145.5);
Tailwind
colors: {
  custom: {
    50: '#6ba46b',
    500: '#227e30',
    950: '#000000',
  },
}
SCSS
$custom: #227e30;
$custom-light: #6ba46b;
$custom-dark: #000000;
JSON
{
  "hex": "#227e30",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 129.13,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5224,
    "c": 0.14248,
    "h": 145.5
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#227E30
secondary
#B14BA1
accent
#47C9E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #227E30

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

Preview Lab → · Contrast checker → · Palette generator →

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