#227318#227318

#227318 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.146 H 141.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#227318
RGBrgb(34, 115, 24)
HSLhsl(113, 65%, 27%)
HSVhsv(113, 79%, 45%)
CMYKcmyk(70.4%, 0%, 79.1%, 54.9%)
CIE-LABlab(42.26, -41.97, 40.43)
CIE-LCHlch(42.26, 58.28, 136.08°)
OKLaboklab(48.84% -0.1145 0.0908)
OKLCHoklch(48.84% 0.146 141.6)
XYZxyz(6.9549, 12.6668, 2.9424)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227318 #691873
analogous
#4F7318 #227318 #18733C
triadic
#227318 #182273 #731822
tetradic
#227318 #184F73 #691873 #733C18
square
#227318 #184F73 #691873 #733C18
split-complementary
#227318 #3C1873 #73184F
monochromatic
#071905 #13400D #227318 #31A623 #43D431

Accessibility & contrast

On white

5.94
#227318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#227318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227318
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227318#FFFFFF#000000##FFFFFF
##2273181.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#106F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227318;
/* rgb */ color: rgb(34, 115, 24);
/* oklch */ color: oklch(48.8% 0.146 141.6);
Tailwind
colors: {
  custom: {
    50: '#6a9c5c',
    500: '#227318',
    950: '#000000',
  },
}
SCSS
$custom: #227318;
$custom-light: #6a9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#227318",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 113.407,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48842,
    "c": 0.14617,
    "h": 141.6
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#227318
secondary
#9D3FA8
accent
#3FE8D6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227318

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

Preview Lab → · Contrast checker → · Palette generator →

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