#227518#227518

#227518 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.149 H 141.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#227518
RGBrgb(34, 117, 24)
HSLhsl(114, 66%, 28%)
HSVhsv(114, 79%, 46%)
CMYKcmyk(70.9%, 0%, 79.5%, 54.1%)
CIE-LABlab(42.96, -42.70, 41.11)
CIE-LCHlch(42.96, 59.27, 136.09°)
OKLaboklab(49.42% -0.1165 0.0923)
OKLCHoklch(49.42% 0.149 141.6)
XYZxyz(7.1855, 13.1279, 3.0192)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227518 #6B1875
analogous
#517518 #227518 #18753C
triadic
#227518 #182275 #751822
tetradic
#227518 #185175 #6B1875 #753C18
square
#227518 #185175 #6B1875 #753C18
split-complementary
#227518 #3C1875 #751851
monochromatic
#071905 #13420E #227518 #31A822 #44D532

Accessibility & contrast

On white

5.79
#227518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#227518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227518
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227518#FFFFFF#000000##FFFFFF
##2275181.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786903
Deuteranopia (green-blind)
#6E6322
Tritanopia (blue-blind)
#0F7163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227518;
/* rgb */ color: rgb(34, 117, 24);
/* oklch */ color: oklch(49.4% 0.149 141.6);
Tailwind
colors: {
  custom: {
    50: '#6b9e5c',
    500: '#227518',
    950: '#000000',
  },
}
SCSS
$custom: #227518;
$custom-light: #6b9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#227518",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 113.548,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49421,
    "c": 0.14859,
    "h": 141.6
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#227518
secondary
#9F3FAA
accent
#3FE9D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227518

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

Preview Lab → · Contrast checker → · Palette generator →

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