#227C32#227C32

#227C32 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.138 H 146.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#227C32
RGBrgb(34, 124, 50)
HSLhsl(131, 57%, 31%)
HSVhsv(131, 73%, 49%)
CMYKcmyk(72.6%, 0%, 59.7%, 51.4%)
CIE-LABlab(45.61, -42.48, 32.46)
CIE-LCHlch(45.61, 53.46, 142.62°)
OKLaboklab(51.7% -0.1146 0.077)
OKLCHoklch(51.7% 0.138 146.1)
XYZxyz(8.4425, 14.9847, 5.4644)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C32 #7C226C
analogous
#3F7C22 #227C32 #227C5F
triadic
#227C32 #32227C #7C3222
tetradic
#227C32 #223F7C #7C226C #7C5F22
square
#227C32 #223F7C #7C226C #7C5F22
split-complementary
#227C32 #5F227C #7C223F
monochromatic
#081C0B #154C1F #227C32 #2FAC45 #4BCE62

Accessibility & contrast

On white

5.25
#227C32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#227C32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C32
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C32#FFFFFF#000000##FFFFFF
##227C321.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E702B
Deuteranopia (green-blind)
#736938
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c32;
/* rgb */ color: rgb(34, 124, 50);
/* oklch */ color: oklch(51.7% 0.138 146.1);
Tailwind
colors: {
  custom: {
    50: '#6ba36c',
    500: '#227c32',
    950: '#000000',
  },
}
SCSS
$custom: #227c32;
$custom-light: #6ba36c;
$custom-dark: #000000;
JSON
{
  "hex": "#227c32",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 50
  },
  "hsl": {
    "h": 130.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.13808,
    "h": 146.1
  },
  "luminance": 0.14986
}

Semantic roles & 50–950 ramp

primary
#227C32
secondary
#AF4B9D
accent
#48C5E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227C32

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

Preview Lab → · Contrast checker → · Palette generator →

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