#227D30#227D30

#227D30 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.141 H 145.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#227D30
RGBrgb(34, 125, 48)
HSLhsl(129, 57%, 31%)
HSVhsv(129, 73%, 49%)
CMYKcmyk(72.8%, 0%, 61.6%, 51%)
CIE-LABlab(45.93, -43.13, 33.83)
CIE-LCHlch(45.93, 54.82, 141.89°)
OKLaboklab(51.96% -0.1164 0.0798)
OKLCHoklch(51.96% 0.141 145.6)
XYZxyz(8.5262, 15.2198, 5.2841)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D30 #7D226F
analogous
#417D22 #227D30 #227D5D
triadic
#227D30 #30227D #7D3022
tetradic
#227D30 #22417D #7D226F #7D5D22
square
#227D30 #22417D #7D226F #7D5D22
split-complementary
#227D30 #5D227D #7D2241
monochromatic
#081D0B #154D1E #227D30 #2FAD42 #4BCE5F

Accessibility & contrast

On white

5.19
#227D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#227D30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D30
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D30#FFFFFF#000000##FFFFFF
##227D301.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7128
Deuteranopia (green-blind)
#746A36
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d30;
/* rgb */ color: rgb(34, 125, 48);
/* oklch */ color: oklch(52.0% 0.141 145.6);
Tailwind
colors: {
  custom: {
    50: '#6ba46b',
    500: '#227d30',
    950: '#000000',
  },
}
SCSS
$custom: #227d30;
$custom-light: #6ba46b;
$custom-dark: #000000;
JSON
{
  "hex": "#227d30",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 48
  },
  "hsl": {
    "h": 129.231,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.14117,
    "h": 145.6
  },
  "luminance": 0.15221
}

Semantic roles & 50–950 ramp

primary
#227D30
secondary
#B04BA0
accent
#47C9E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #227D30

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

Preview Lab → · Contrast checker → · Palette generator →

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