#227C1C#227C1C

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

Color values

HEX#227C1C
RGBrgb(34, 124, 28)
HSLhsl(116, 63%, 30%)
HSVhsv(116, 77%, 49%)
CMYKcmyk(72.6%, 0%, 77.4%, 51.4%)
CIE-LABlab(45.41, -44.89, 42.07)
CIE-LCHlch(45.41, 61.52, 136.86°)
OKLaboklab(51.47% -0.1222 0.0948)
OKLCHoklch(51.47% 0.155 142.2)
XYZxyz(8.0765, 14.8383, 3.5368)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C1C #761C7C
analogous
#527C1C #227C1C #1C7C46
triadic
#227C1C #1C227C #7C1C22
tetradic
#227C1C #1C527C #761C7C #7C461C
square
#227C1C #1C527C #761C7C #7C461C
split-complementary
#227C1C #461C7C #7C1C52
monochromatic
#071906 #144A11 #227C1C #30AE27 #48D43F

Accessibility & contrast

On white

5.29
#227C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227C1C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C1C#FFFFFF#000000##FFFFFF
##227C1C1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7008
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#08786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227c1c;
/* rgb */ color: rgb(34, 124, 28);
/* oklch */ color: oklch(51.5% 0.155 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ca35f',
    500: '#227c1c',
    950: '#000000',
  },
}
SCSS
$custom: #227c1c;
$custom-light: #6ca35f;
$custom-dark: #000000;
JSON
{
  "hex": "#227c1c",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 116.25,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51467,
    "c": 0.15467,
    "h": 142.2
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#227C1C
secondary
#A944B0
accent
#42E6DC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #227C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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