#227E2D#227E2D

#227E2D is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.145 H 144.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#227E2D
RGBrgb(34, 126, 45)
HSLhsl(127, 58%, 31%)
HSVhsv(127, 73%, 49%)
CMYKcmyk(73%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.24, -43.88, 35.64)
CIE-LCHlch(46.24, 56.54, 140.91°)
OKLaboklab(52.2% -0.1186 0.0834)
OKLCHoklch(52.2% 0.145 144.9)
XYZxyz(8.5936, 15.4503, 5.0114)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E2D #7E2273
analogous
#457E22 #227E2D #227E5B
triadic
#227E2D #2D227E #7E2D22
tetradic
#227E2D #22457E #7E2273 #7E5B22
square
#227E2D #22457E #7E2273 #7E5B22
split-complementary
#227E2D #5B227E #7E2245
monochromatic
#081E0B #154E1C #227E2D #2FAE3E #4CCF5B

Accessibility & contrast

On white

5.13
#227E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#227E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E2D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E2D#FFFFFF#000000##FFFFFF
##227E2D1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#756B34
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e2d;
/* rgb */ color: rgb(34, 126, 45);
/* oklch */ color: oklch(52.2% 0.145 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ca469',
    500: '#227e2d',
    950: '#000000',
  },
}
SCSS
$custom: #227e2d;
$custom-light: #6ca469;
$custom-dark: #000000;
JSON
{
  "hex": "#227e2d",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 127.174,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52203,
    "c": 0.14501,
    "h": 144.9
  },
  "luminance": 0.15451
}

Semantic roles & 50–950 ramp

primary
#227E2D
secondary
#B14BA4
accent
#47CEE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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