#227C1A#227C1A

#227C1A is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.156 H 141.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#227C1A
RGBrgb(34, 124, 26)
HSLhsl(115, 65%, 29%)
HSVhsv(115, 79%, 49%)
CMYKcmyk(72.6%, 0%, 79%, 51.4%)
CIE-LABlab(45.40, -45.04, 42.79)
CIE-LCHlch(45.40, 62.13, 136.47°)
OKLaboklab(51.45% -0.1227 0.0961)
OKLCHoklch(51.45% 0.156 141.9)
XYZxyz(8.0533, 14.8291, 3.4150)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C1A #741A7C
analogous
#537C1A #227C1A #1A7C43
triadic
#227C1A #1A227C #7C1A22
tetradic
#227C1A #1A537C #741A7C #7C431A
square
#227C1A #1A537C #741A7C #7C431A
split-complementary
#227C1A #431A7C #7C1A53
monochromatic
#071905 #14490F #227C1A #30AF25 #47D63B

Accessibility & contrast

On white

5.30
#227C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#227C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C1A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C1A#FFFFFF#000000##FFFFFF
##227C1A1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#097869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227c1a;
/* rgb */ color: rgb(34, 124, 26);
/* oklch */ color: oklch(51.5% 0.156 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ca35e',
    500: '#227c1a',
    950: '#000000',
  },
}
SCSS
$custom: #227c1a;
$custom-light: #6ca35e;
$custom-dark: #000000;
JSON
{
  "hex": "#227c1a",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 115.102,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51452,
    "c": 0.15583,
    "h": 141.9
  },
  "luminance": 0.1483
}

Semantic roles & 50–950 ramp

primary
#227C1A
secondary
#A742B0
accent
#40E8DB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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