#227F35#227F35

#227F35 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.139 H 146.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#227F35
RGBrgb(34, 127, 53)
HSLhsl(132, 58%, 32%)
HSVhsv(132, 73%, 50%)
CMYKcmyk(73.2%, 0%, 58.3%, 50.2%)
CIE-LABlab(46.68, -43.19, 32.20)
CIE-LCHlch(46.68, 53.87, 143.30°)
OKLaboklab(52.59% -0.1164 0.0767)
OKLCHoklch(52.59% 0.139 146.6)
XYZxyz(8.8910, 15.7749, 5.9438)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F35 #7F226C
analogous
#3E7F22 #227F35 #227F64
triadic
#227F35 #35227F #7F3522
tetradic
#227F35 #223E7F #7F226C #7F6422
square
#227F35 #223E7F #7F226C #7F6422
split-complementary
#227F35 #64227F #7F223E
monochromatic
#081E0D #154F21 #227F35 #2FAF49 #4CCF67

Accessibility & contrast

On white

5.05
#227F35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#227F35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F35
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F35#FFFFFF#000000##FFFFFF
##227F351.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81732E
Deuteranopia (green-blind)
#766C3B
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f35;
/* rgb */ color: rgb(34, 127, 53);
/* oklch */ color: oklch(52.6% 0.139 146.6);
Tailwind
colors: {
  custom: {
    50: '#6ba56e',
    500: '#227f35',
    950: '#000000',
  },
}
SCSS
$custom: #227f35;
$custom-light: #6ba56e;
$custom-dark: #000000;
JSON
{
  "hex": "#227f35",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 53
  },
  "hsl": {
    "h": 132.258,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.13941,
    "h": 146.6
  },
  "luminance": 0.15776
}

Semantic roles & 50–950 ramp

primary
#227F35
secondary
#B24B9D
accent
#47C1E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #227F35

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

Preview Lab → · Contrast checker → · Palette generator →

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