#227235#227235

#227235 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.122 H 147.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#227235
RGBrgb(34, 114, 53)
HSLhsl(134, 54%, 29%)
HSVhsv(134, 70%, 45%)
CMYKcmyk(70.2%, 0%, 53.5%, 55.3%)
CIE-LABlab(42.20, -38.15, 26.78)
CIE-LCHlch(42.20, 46.61, 144.93°)
OKLaboklab(48.89% -0.1029 0.0647)
OKLCHoklch(48.89% 0.122 147.8)
XYZxyz(7.3191, 12.6310, 5.4198)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227235 #72225F
analogous
#377222 #227235 #22725D
triadic
#227235 #352272 #723522
tetradic
#227235 #223772 #72225F #725D22
square
#227235 #223772 #72225F #725D22
split-complementary
#227235 #5D2272 #722237
monochromatic
#07180B #14431F #227235 #30A14B #46C865

Accessibility & contrast

On white

5.96
#227235 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#227235 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227235
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227235#FFFFFF#000000##FFFFFF
##2272351.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736830
Deuteranopia (green-blind)
#696139
Tritanopia (blue-blind)
#037064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227235;
/* rgb */ color: rgb(34, 114, 53);
/* oklch */ color: oklch(48.9% 0.122 147.8);
Tailwind
colors: {
  custom: {
    50: '#689b6d',
    500: '#227235',
    950: '#000000',
  },
}
SCSS
$custom: #227235;
$custom-light: #689b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#227235",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 53
  },
  "hsl": {
    "h": 134.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48891,
    "c": 0.12153,
    "h": 147.8
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#227235
secondary
#A54B90
accent
#4ABADD
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227235

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

Preview Lab → · Contrast checker → · Palette generator →

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