#227230#227230

#227230 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.126 H 146.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#227230
RGBrgb(34, 114, 48)
HSLhsl(131, 54%, 29%)
HSVhsv(131, 70%, 45%)
CMYKcmyk(70.2%, 0%, 57.9%, 55.3%)
CIE-LABlab(42.13, -38.92, 29.36)
CIE-LCHlch(42.13, 48.75, 142.97°)
OKLaboklab(48.81% -0.1051 0.0701)
OKLCHoklch(48.81% 0.126 146.3)
XYZxyz(7.2100, 12.5873, 4.8454)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227230 #722264
analogous
#3C7222 #227230 #227258
triadic
#227230 #302272 #723022
tetradic
#227230 #223C72 #722264 #725822
square
#227230 #223C72 #722264 #725822
split-complementary
#227230 #582272 #72223C
monochromatic
#07180A #14431C #227230 #30A144 #46C85D

Accessibility & contrast

On white

5.97
#227230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#227230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227230
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227230#FFFFFF#000000##FFFFFF
##2272301.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682A
Deuteranopia (green-blind)
#6A6135
Tritanopia (blue-blind)
#066F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227230;
/* rgb */ color: rgb(34, 114, 48);
/* oklch */ color: oklch(48.8% 0.126 146.3);
Tailwind
colors: {
  custom: {
    50: '#699b6a',
    500: '#227230',
    950: '#000000',
  },
}
SCSS
$custom: #227230;
$custom-light: #699b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#227230",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 48
  },
  "hsl": {
    "h": 130.5,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48813,
    "c": 0.12629,
    "h": 146.3
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#227230
secondary
#A54B95
accent
#4AC4DD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #227230

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

Preview Lab → · Contrast checker → · Palette generator →

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