#227C2D#227C2D

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

Color values

HEX#227C2D
RGBrgb(34, 124, 45)
HSLhsl(127, 57%, 31%)
HSVhsv(127, 73%, 49%)
CMYKcmyk(72.6%, 0%, 63.7%, 51.4%)
CIE-LABlab(45.56, -43.15, 34.86)
CIE-LCHlch(45.56, 55.47, 141.06°)
OKLaboklab(51.63% -0.1166 0.0817)
OKLCHoklch(51.63% 0.142 145)
XYZxyz(8.3404, 14.9439, 4.9270)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C2D #7C2271
analogous
#447C22 #227C2D #227C5A
triadic
#227C2D #2D227C #7C2D22
tetradic
#227C2D #22447C #7C2271 #7C5A22
square
#227C2D #22447C #7C2271 #7C5A22
split-complementary
#227C2D #5A227C #7C2244
monochromatic
#081C0A #154C1C #227C2D #2FAC3E #4BCE5B

Accessibility & contrast

On white

5.26
#227C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227C2D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C2D#FFFFFF#000000##FFFFFF
##227C2D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227c2d;
/* rgb */ color: rgb(34, 124, 45);
/* oklch */ color: oklch(51.6% 0.142 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ba369',
    500: '#227c2d',
    950: '#000000',
  },
}
SCSS
$custom: #227c2d;
$custom-light: #6ba369;
$custom-dark: #000000;
JSON
{
  "hex": "#227c2d",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 127.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51634,
    "c": 0.14241,
    "h": 145
  },
  "luminance": 0.14945
}

Semantic roles & 50–950 ramp

primary
#227C2D
secondary
#AF4BA3
accent
#48CEE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #227C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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