#227415#227415

#227415 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.149 H 141.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#227415
RGBrgb(34, 116, 21)
HSLhsl(112, 69%, 27%)
HSVhsv(112, 82%, 45%)
CMYKcmyk(70.7%, 0%, 81.9%, 54.5%)
CIE-LABlab(42.59, -42.55, 41.80)
CIE-LCHlch(42.59, 59.65, 135.51°)
OKLaboklab(49.11% -0.1162 0.0933)
OKLCHoklch(49.11% 0.149 141.3)
XYZxyz(7.0401, 12.8843, 2.8252)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227415 #671574
analogous
#527415 #227415 #157437
triadic
#227415 #152274 #741522
tetradic
#227415 #155274 #671574 #743715
square
#227415 #155274 #671574 #743715
split-complementary
#227415 #371574 #741552
monochromatic
#081A05 #13400C #227415 #31A81E #43D92B

Accessibility & contrast

On white

5.87
#227415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#227415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227415
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227415#FFFFFF#000000##FFFFFF
##2274151.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#107062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227415;
/* rgb */ color: rgb(34, 116, 21);
/* oklch */ color: oklch(49.1% 0.149 141.3);
Tailwind
colors: {
  custom: {
    50: '#6a9d5b',
    500: '#227415',
    950: '#000000',
  },
}
SCSS
$custom: #227415;
$custom-light: #6a9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#227415",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 111.789,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49111,
    "c": 0.14902,
    "h": 141.3
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#227415
secondary
#9B3BAA
accent
#3CECD4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227415

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

Preview Lab → · Contrast checker → · Palette generator →

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