#227A30#227A30

#227A30 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.137 H 145.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#227A30
RGBrgb(34, 122, 48)
HSLhsl(130, 56%, 31%)
HSVhsv(130, 72%, 48%)
CMYKcmyk(72.1%, 0%, 60.7%, 52.2%)
CIE-LABlab(44.90, -42.00, 32.63)
CIE-LCHlch(44.90, 53.19, 142.16°)
OKLaboklab(51.1% -0.1134 0.0772)
OKLCHoklch(51.1% 0.137 145.8)
XYZxyz(8.1522, 14.4717, 5.1594)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A30 #7A226C
analogous
#407A22 #227A30 #227A5C
triadic
#227A30 #30227A #7A3022
tetradic
#227A30 #22407A #7A226C #7A5C22
square
#227A30 #22407A #7A226C #7A5C22
split-complementary
#227A30 #5C227A #7A2240
monochromatic
#071A0A #154A1D #227A30 #2FAA43 #4ACD5F

Accessibility & contrast

On white

5.39
#227A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#227A30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A30
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A30#FFFFFF#000000##FFFFFF
##227A301.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F28
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227a30;
/* rgb */ color: rgb(34, 122, 48);
/* oklch */ color: oklch(51.1% 0.137 145.8);
Tailwind
colors: {
  custom: {
    50: '#6aa16b',
    500: '#227a30',
    950: '#000000',
  },
}
SCSS
$custom: #227a30;
$custom-light: #6aa16b;
$custom-dark: #000000;
JSON
{
  "hex": "#227a30",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 48
  },
  "hsl": {
    "h": 129.545,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51102,
    "c": 0.13719,
    "h": 145.8
  },
  "luminance": 0.14473
}

Semantic roles & 50–950 ramp

primary
#227A30
secondary
#AD4B9D
accent
#48C8E0
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227A30

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

Preview Lab → · Contrast checker → · Palette generator →

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