#227918#227918

#227918 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.153 H 141.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#227918
RGBrgb(34, 121, 24)
HSLhsl(114, 67%, 28%)
HSVhsv(114, 80%, 47%)
CMYKcmyk(71.9%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.35, -44.13, 42.47)
CIE-LCHlch(44.35, 61.25, 136.10°)
OKLaboklab(50.58% -0.1203 0.0951)
OKLCHoklch(50.58% 0.153 141.7)
XYZxyz(7.6615, 14.0800, 3.1779)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227918 #6F1879
analogous
#527918 #227918 #18793E
triadic
#227918 #182279 #791822
tetradic
#227918 #185279 #6F1879 #793E18
square
#227918 #185279 #6F1879 #793E18
split-complementary
#227918 #3E1879 #791852
monochromatic
#071A05 #14460E #227918 #30AC22 #45D735

Accessibility & contrast

On white

5.50
#227918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#227918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227918
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227918#FFFFFF#000000##FFFFFF
##2279181.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#0C7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227918;
/* rgb */ color: rgb(34, 121, 24);
/* oklch */ color: oklch(50.6% 0.153 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ca15d',
    500: '#227918',
    950: '#000000',
  },
}
SCSS
$custom: #227918;
$custom-light: #6ca15d;
$custom-dark: #000000;
JSON
{
  "hex": "#227918",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 113.814,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50575,
    "c": 0.15337,
    "h": 141.7
  },
  "luminance": 0.14081
}

Semantic roles & 50–950 ramp

primary
#227918
secondary
#A23FAE
accent
#3EEAD8
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #227918

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

Preview Lab → · Contrast checker → · Palette generator →

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