#227C27#227C27

#227C27 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.147 H 143.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#227C27
RGBrgb(34, 124, 39)
HSLhsl(123, 57%, 31%)
HSVhsv(123, 73%, 49%)
CMYKcmyk(72.6%, 0%, 68.5%, 51.4%)
CIE-LABlab(45.50, -43.85, 37.60)
CIE-LCHlch(45.50, 57.76, 139.39°)
OKLaboklab(51.57% -0.1188 0.0869)
OKLCHoklch(51.57% 0.147 143.8)
XYZxyz(8.2330, 14.9010, 4.3613)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C27 #7C2277
analogous
#4A7C22 #227C27 #227C54
triadic
#227C27 #27227C #7C2722
tetradic
#227C27 #224A7C #7C2277 #7C5422
square
#227C27 #224A7C #7C2277 #7C5422
split-complementary
#227C27 #54227C #7C224A
monochromatic
#081C09 #154C18 #227C27 #2FAC36 #4BCE52

Accessibility & contrast

On white

5.28
#227C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#227C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C27
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C27#FFFFFF#000000##FFFFFF
##227C271.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F701C
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#03786B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c27;
/* rgb */ color: rgb(34, 124, 39);
/* oklch */ color: oklch(51.6% 0.147 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ba365',
    500: '#227c27',
    950: '#000000',
  },
}
SCSS
$custom: #227c27;
$custom-light: #6ba365;
$custom-dark: #000000;
JSON
{
  "hex": "#227c27",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 39
  },
  "hsl": {
    "h": 123.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.14719,
    "h": 143.8
  },
  "luminance": 0.14902
}

Semantic roles & 50–950 ramp

primary
#227C27
secondary
#AF4BA9
accent
#48D8E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227C27

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

Preview Lab → · Contrast checker → · Palette generator →

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