#227C19#227C19

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

Color values

HEX#227C19
RGBrgb(34, 124, 25)
HSLhsl(115, 66%, 29%)
HSVhsv(115, 80%, 49%)
CMYKcmyk(72.6%, 0%, 79.8%, 51.4%)
CIE-LABlab(45.39, -45.12, 43.14)
CIE-LCHlch(45.39, 62.42, 136.29°)
OKLaboklab(51.44% -0.123 0.0966)
OKLCHoklch(51.44% 0.156 141.8)
XYZxyz(8.0424, 14.8247, 3.3571)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C19 #73197C
analogous
#547C19 #227C19 #197C41
triadic
#227C19 #19227C #7C1922
tetradic
#227C19 #19547C #73197C #7C4119
square
#227C19 #19547C #73197C #7C4119
split-complementary
#227C19 #41197C #7C1954
monochromatic
#071905 #14490F #227C19 #30AF23 #47D738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227C19#FFFFFF#000000##FFFFFF
##227C191.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)
#7F7002
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#097869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227c19;
/* rgb */ color: rgb(34, 124, 25);
/* oklch */ color: oklch(51.4% 0.156 141.8);
Tailwind
colors: {
  custom: {
    50: '#6ca35e',
    500: '#227c19',
    950: '#000000',
  },
}
SCSS
$custom: #227c19;
$custom-light: #6ca35e;
$custom-dark: #000000;
JSON
{
  "hex": "#227c19",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 114.545,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51445,
    "c": 0.15639,
    "h": 141.8
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#227C19
secondary
#A640B0
accent
#3EE9DA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227C19

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

Preview Lab → · Contrast checker → · Palette generator →

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