#227730#227730

#227730 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.133 H 145.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#227730
RGBrgb(34, 119, 48)
HSLhsl(130, 56%, 30%)
HSVhsv(130, 71%, 47%)
CMYKcmyk(71.4%, 0%, 59.7%, 53.3%)
CIE-LABlab(43.87, -40.86, 31.42)
CIE-LCHlch(43.87, 51.54, 142.45°)
OKLaboklab(50.25% -0.1103 0.0746)
OKLCHoklch(50.25% 0.133 145.9)
XYZxyz(7.7895, 13.7463, 5.0385)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227730 #772269
analogous
#3F7722 #227730 #22775A
triadic
#227730 #302277 #773022
tetradic
#227730 #223F77 #772269 #775A22
square
#227730 #223F77 #772269 #775A22
split-complementary
#227730 #5A2277 #77223F
monochromatic
#07180A #14471D #227730 #30A743 #49CB5E

Accessibility & contrast

On white

5.60
#227730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#227730 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227730
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227730#FFFFFF#000000##FFFFFF
##2277301.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C29
Deuteranopia (green-blind)
#6F6536
Tritanopia (blue-blind)
#027467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #227730;
/* rgb */ color: rgb(34, 119, 48);
/* oklch */ color: oklch(50.2% 0.133 145.9);
Tailwind
colors: {
  custom: {
    50: '#6a9f6a',
    500: '#227730',
    950: '#000000',
  },
}
SCSS
$custom: #227730;
$custom-light: #6a9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#227730",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 48
  },
  "hsl": {
    "h": 129.882,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.13315,
    "h": 145.9
  },
  "luminance": 0.13747
}

Semantic roles & 50–950 ramp

primary
#227730
secondary
#AA4B9A
accent
#49C6DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #227730

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

Preview Lab → · Contrast checker → · Palette generator →

#227730 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva