#227D27#227D27

#227D27 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.148 H 143.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#227D27
RGBrgb(34, 125, 39)
HSLhsl(123, 57%, 31%)
HSVhsv(123, 73%, 49%)
CMYKcmyk(72.8%, 0%, 68.8%, 51%)
CIE-LABlab(45.84, -44.21, 37.98)
CIE-LCHlch(45.84, 58.28, 139.34°)
OKLaboklab(51.85% -0.1198 0.0877)
OKLCHoklch(51.85% 0.148 143.8)
XYZxyz(8.3590, 15.1529, 4.4033)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D27 #7D2278
analogous
#4A7D22 #227D27 #227D54
triadic
#227D27 #27227D #7D2722
tetradic
#227D27 #224A7D #7D2278 #7D5422
square
#227D27 #224A7D #7D2278 #7D5422
split-complementary
#227D27 #54227D #7D224A
monochromatic
#081D09 #154D18 #227D27 #2FAD36 #4BCE52

Accessibility & contrast

On white

5.21
#227D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#227D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D27
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D27#FFFFFF#000000##FFFFFF
##227D271.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711C
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#02796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d27;
/* rgb */ color: rgb(34, 125, 39);
/* oklch */ color: oklch(51.9% 0.148 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ca465',
    500: '#227d27',
    950: '#000000',
  },
}
SCSS
$custom: #227d27;
$custom-light: #6ca465;
$custom-dark: #000000;
JSON
{
  "hex": "#227d27",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 123.297,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.14846,
    "h": 143.8
  },
  "luminance": 0.15154
}

Semantic roles & 50–950 ramp

primary
#227D27
secondary
#B04BAA
accent
#47D8E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227D27

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

Preview Lab → · Contrast checker → · Palette generator →

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