#227E18#227E18

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

Color values

HEX#227E18
RGBrgb(34, 126, 24)
HSLhsl(114, 68%, 29%)
HSVhsv(114, 81%, 49%)
CMYKcmyk(73%, 0%, 81%, 50.6%)
CIE-LABlab(46.08, -45.89, 44.14)
CIE-LCHlch(46.08, 63.67, 136.11°)
OKLaboklab(52.01% -0.1251 0.0986)
OKLCHoklch(52.01% 0.159 141.8)
XYZxyz(8.2849, 15.3268, 3.3857)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E18 #74187E
analogous
#557E18 #227E18 #187E41
triadic
#227E18 #18227E #7E1822
tetradic
#227E18 #18557E #74187E #7E4118
square
#227E18 #18557E #74187E #7E4118
split-complementary
#227E18 #41187E #7E1855
monochromatic
#071A05 #144B0E #227E18 #30B122 #47D937

Accessibility & contrast

On white

5.17
#227E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227E18
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E18#FFFFFF#000000##FFFFFF
##227E181.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227e18;
/* rgb */ color: rgb(34, 126, 24);
/* oklch */ color: oklch(52.0% 0.159 141.8);
Tailwind
colors: {
  custom: {
    50: '#6da45e',
    500: '#227e18',
    950: '#000000',
  },
}
SCSS
$custom: #227e18;
$custom-light: #6da45e;
$custom-dark: #000000;
JSON
{
  "hex": "#227e18",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 114.118,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.15926,
    "h": 141.8
  },
  "luminance": 0.15328
}

Semantic roles & 50–950 ramp

primary
#227E18
secondary
#A73FB2
accent
#3DEBDA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227E18

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

Preview Lab → · Contrast checker → · Palette generator →

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