#227E19#227E19

#227E19 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.159 H 141.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#227E19
RGBrgb(34, 126, 25)
HSLhsl(115, 67%, 30%)
HSVhsv(115, 80%, 49%)
CMYKcmyk(73%, 0%, 80.2%, 50.6%)
CIE-LABlab(46.08, -45.82, 43.81)
CIE-LCHlch(46.08, 63.39, 136.28°)
OKLaboklab(52.02% -0.1248 0.098)
OKLCHoklch(52.02% 0.159 141.9)
XYZxyz(8.2955, 15.3311, 3.4415)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E19 #75197E
analogous
#557E19 #227E19 #197E42
triadic
#227E19 #19227E #7E1922
tetradic
#227E19 #19557E #75197E #7E4219
square
#227E19 #19557E #75197E #7E4219
split-complementary
#227E19 #42197E #7E1955
monochromatic
#071A05 #144B0F #227E19 #30B123 #48D83A

Accessibility & contrast

On white

5.16
#227E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#227E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E19
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E19#FFFFFF#000000##FFFFFF
##227E191.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#087A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e19;
/* rgb */ color: rgb(34, 126, 25);
/* oklch */ color: oklch(52.0% 0.159 141.9);
Tailwind
colors: {
  custom: {
    50: '#6da45e',
    500: '#227e19',
    950: '#000000',
  },
}
SCSS
$custom: #227e19;
$custom-light: #6da45e;
$custom-dark: #000000;
JSON
{
  "hex": "#227e19",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 114.653,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.15873,
    "h": 141.9
  },
  "luminance": 0.15332
}

Semantic roles & 50–950 ramp

primary
#227E19
secondary
#A841B2
accent
#3EEADA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227E19

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

Preview Lab → · Contrast checker → · Palette generator →

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