#227018#227018

#227018 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.142 H 141.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#227018
RGBrgb(34, 112, 24)
HSLhsl(113, 65%, 27%)
HSVhsv(113, 79%, 44%)
CMYKcmyk(69.6%, 0%, 78.6%, 56.1%)
CIE-LABlab(41.21, -40.87, 39.39)
CIE-LCHlch(41.21, 56.76, 136.06°)
OKLaboklab(47.97% -0.1115 0.0887)
OKLCHoklch(47.97% 0.142 141.5)
XYZxyz(6.6184, 11.9937, 2.8302)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227018 #661870
analogous
#4E7018 #227018 #18703A
triadic
#227018 #182270 #701822
tetradic
#227018 #184E70 #661870 #703A18
square
#227018 #184E70 #661870 #703A18
split-complementary
#227018 #3A1870 #70184E
monochromatic
#081905 #133E0D #227018 #31A223 #42D330

Accessibility & contrast

On white

6.18
#227018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#227018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227018
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227018#FFFFFF#000000##FFFFFF
##2270181.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#126C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #227018;
/* rgb */ color: rgb(34, 112, 24);
/* oklch */ color: oklch(48.0% 0.142 141.5);
Tailwind
colors: {
  custom: {
    50: '#699a5c',
    500: '#227018',
    950: '#000000',
  },
}
SCSS
$custom: #227018;
$custom-light: #699a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#227018",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 113.182,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47971,
    "c": 0.14249,
    "h": 141.5
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#227018
secondary
#9A3EA5
accent
#40E8D5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227018

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

Preview Lab → · Contrast checker → · Palette generator →

#227018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva