#227718#227718

#227718 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.151 H 141.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#227718
RGBrgb(34, 119, 24)
HSLhsl(114, 66%, 28%)
HSVhsv(114, 80%, 47%)
CMYKcmyk(71.4%, 0%, 79.8%, 53.3%)
CIE-LABlab(43.65, -43.42, 41.79)
CIE-LCHlch(43.65, 60.26, 136.09°)
OKLaboklab(50% -0.1184 0.0937)
OKLCHoklch(50% 0.151 141.7)
XYZxyz(7.4210, 13.5989, 3.0977)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227718 #6D1877
analogous
#517718 #227718 #18773D
triadic
#227718 #182277 #771822
tetradic
#227718 #185177 #6D1877 #773D18
square
#227718 #185177 #6D1877 #773D18
split-complementary
#227718 #3D1877 #771851
monochromatic
#071905 #13440E #227718 #31AA22 #45D633

Accessibility & contrast

On white

5.65
#227718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#227718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227718
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227718#FFFFFF#000000##FFFFFF
##2277181.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B02
Deuteranopia (green-blind)
#706523
Tritanopia (blue-blind)
#0E7365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227718;
/* rgb */ color: rgb(34, 119, 24);
/* oklch */ color: oklch(50.0% 0.151 141.7);
Tailwind
colors: {
  custom: {
    50: '#6b9f5d',
    500: '#227718',
    950: '#000000',
  },
}
SCSS
$custom: #227718;
$custom-light: #6b9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#227718",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 113.684,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49999,
    "c": 0.15099,
    "h": 141.7
  },
  "luminance": 0.136
}

Semantic roles & 50–950 ramp

primary
#227718
secondary
#A13FAC
accent
#3EE9D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F04
muted
#7A7E79

Preview Lab

Preview with #227718

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

Preview Lab → · Contrast checker → · Palette generator →

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