#227C30#227C30

#227C30 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.140 H 145.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#227C30
RGBrgb(34, 124, 48)
HSLhsl(129, 57%, 31%)
HSVhsv(129, 73%, 49%)
CMYKcmyk(72.6%, 0%, 61.3%, 51.4%)
CIE-LABlab(45.59, -42.76, 33.43)
CIE-LCHlch(45.59, 54.28, 141.98°)
OKLaboklab(51.67% -0.1154 0.0789)
OKLCHoklch(51.67% 0.14 145.6)
XYZxyz(8.4003, 14.9679, 5.2421)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C30 #7C226E
analogous
#417C22 #227C30 #227C5D
triadic
#227C30 #30227C #7C3022
tetradic
#227C30 #22417C #7C226E #7C5D22
square
#227C30 #22417C #7C226E #7C5D22
split-complementary
#227C30 #5D227C #7C2241
monochromatic
#081C0B #154C1D #227C30 #2FAC43 #4BCE5F

Accessibility & contrast

On white

5.26
#227C30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#227C30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C30
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C30#FFFFFF#000000##FFFFFF
##227C301.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7028
Deuteranopia (green-blind)
#736936
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c30;
/* rgb */ color: rgb(34, 124, 48);
/* oklch */ color: oklch(51.7% 0.140 145.6);
Tailwind
colors: {
  custom: {
    50: '#6ba36b',
    500: '#227c30',
    950: '#000000',
  },
}
SCSS
$custom: #227c30;
$custom-light: #6ba36b;
$custom-dark: #000000;
JSON
{
  "hex": "#227c30",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 48
  },
  "hsl": {
    "h": 129.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51672,
    "c": 0.13984,
    "h": 145.6
  },
  "luminance": 0.14969
}

Semantic roles & 50–950 ramp

primary
#227C30
secondary
#AF4B9F
accent
#48C8E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227C30

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

Preview Lab → · Contrast checker → · Palette generator →

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