#227E27#227E27

#227E27 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.150 H 143.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#227E27
RGBrgb(34, 126, 39)
HSLhsl(123, 58%, 31%)
HSVhsv(123, 73%, 49%)
CMYKcmyk(73%, 0%, 69%, 50.6%)
CIE-LABlab(46.19, -44.57, 38.35)
CIE-LCHlch(46.19, 58.80, 139.29°)
OKLaboklab(52.14% -0.1208 0.0885)
OKLCHoklch(52.14% 0.15 143.8)
XYZxyz(8.4862, 15.4073, 4.4457)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E27 #7E2279
analogous
#4B7E22 #227E27 #227E55
triadic
#227E27 #27227E #7E2722
tetradic
#227E27 #224B7E #7E2279 #7E5522
square
#227E27 #224B7E #7E2279 #7E5522
split-complementary
#227E27 #55227E #7E224B
monochromatic
#081E09 #154E18 #227E27 #2FAE36 #4CCF53

Accessibility & contrast

On white

5.15
#227E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#227E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E27
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E27#FFFFFF#000000##FFFFFF
##227E271.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721B
Deuteranopia (green-blind)
#766B2F
Tritanopia (blue-blind)
#017A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e27;
/* rgb */ color: rgb(34, 126, 39);
/* oklch */ color: oklch(52.1% 0.150 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ca466',
    500: '#227e27',
    950: '#000000',
  },
}
SCSS
$custom: #227e27;
$custom-light: #6ca466;
$custom-dark: #000000;
JSON
{
  "hex": "#227e27",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 123.261,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.14972,
    "h": 143.8
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

primary
#227E27
secondary
#B14BAB
accent
#47D8E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227E27

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

Preview Lab → · Contrast checker → · Palette generator →

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