#229730#229730

#229730 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.3% C 0.174 H 144.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#229730
RGBrgb(34, 151, 48)
HSLhsl(127, 63%, 36%)
HSVhsv(127, 77%, 59%)
CMYKcmyk(77.5%, 0%, 68.2%, 40.8%)
CIE-LABlab(54.75, -52.32, 43.70)
CIE-LCHlch(54.75, 68.17, 140.13°)
OKLaboklab(59.26% -0.1414 0.1008)
OKLCHoklch(59.26% 0.174 144.5)
XYZxyz(12.2590, 22.6853, 6.5283)
Luminance0.2269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229730 #972289
analogous
#4F9722 #229730 #22976B
triadic
#229730 #302297 #973022
tetradic
#229730 #224F97 #972289 #976B22
square
#229730 #224F97 #972289 #976B22
split-complementary
#229730 #6B2297 #97224F
monochromatic
#0C3310 #176520 #229730 #2DC940 #5ADA69

Accessibility & contrast

On white

3.79
#229730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#229730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229730
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229730#FFFFFF#000000##000000
##2297301.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8822
Deuteranopia (green-blind)
#8D7F3A
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #229730;
/* rgb */ color: rgb(34, 151, 48);
/* oklch */ color: oklch(59.3% 0.174 144.5);
Tailwind
colors: {
  custom: {
    50: '#72b76d',
    500: '#229730',
    950: '#000000',
  },
}
SCSS
$custom: #229730;
$custom-light: #72b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#229730",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 127.179,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59264,
    "c": 0.17364,
    "h": 144.5
  },
  "luminance": 0.22687
}

Semantic roles & 50–950 ramp

primary
#229730
secondary
#BE57B2
accent
#42D3E6
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #229730

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

Preview Lab → · Contrast checker → · Palette generator →

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