#227C2C#227C2C

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

Color values

HEX#227C2C
RGBrgb(34, 124, 44)
HSLhsl(127, 57%, 31%)
HSVhsv(127, 73%, 49%)
CMYKcmyk(72.6%, 0%, 64.5%, 51.4%)
CIE-LABlab(45.55, -43.27, 35.33)
CIE-LCHlch(45.55, 55.86, 140.77°)
OKLaboklab(51.62% -0.117 0.0827)
OKLCHoklch(51.62% 0.143 144.8)
XYZxyz(8.3214, 14.9363, 4.8268)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C2C #7C2272
analogous
#457C22 #227C2C #227C59
triadic
#227C2C #2C227C #7C2C22
tetradic
#227C2C #22457C #7C2272 #7C5922
square
#227C2C #22457C #7C2272 #7C5922
split-complementary
#227C2C #59227C #7C2245
monochromatic
#081C0A #154C1B #227C2C #2FAC3D #4BCE59

Accessibility & contrast

On white

5.27
#227C2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#227C2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C2C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C2C#FFFFFF#000000##FFFFFF
##227C2C1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c2c;
/* rgb */ color: rgb(34, 124, 44);
/* oklch */ color: oklch(51.6% 0.143 144.8);
Tailwind
colors: {
  custom: {
    50: '#6ba368',
    500: '#227c2c',
    950: '#000000',
  },
}
SCSS
$custom: #227c2c;
$custom-light: #6ba368;
$custom-dark: #000000;
JSON
{
  "hex": "#227c2c",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 126.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.14324,
    "h": 144.8
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#227C2C
secondary
#AF4BA4
accent
#48CFE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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