#227515#227515

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

Color values

HEX#227515
RGBrgb(34, 117, 21)
HSLhsl(112, 70%, 27%)
HSVhsv(112, 82%, 46%)
CMYKcmyk(70.9%, 0%, 82.1%, 54.1%)
CIE-LABlab(42.94, -42.91, 42.14)
CIE-LCHlch(42.94, 60.14, 135.52°)
OKLaboklab(49.4% -0.1172 0.094)
OKLCHoklch(49.4% 0.15 141.3)
XYZxyz(7.1560, 13.1161, 2.8639)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227515 #681575
analogous
#527515 #227515 #157538
triadic
#227515 #152275 #751522
tetradic
#227515 #155275 #681575 #753815
square
#227515 #155275 #681575 #753815
split-complementary
#227515 #381575 #751552
monochromatic
#081A05 #13410C #227515 #31A91E #43D92B

Accessibility & contrast

On white

5.80
#227515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#227515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227515
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227515#FFFFFF#000000##FFFFFF
##2275151.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#107163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227515;
/* rgb */ color: rgb(34, 117, 21);
/* oklch */ color: oklch(49.4% 0.150 141.3);
Tailwind
colors: {
  custom: {
    50: '#6b9e5b',
    500: '#227515',
    950: '#000000',
  },
}
SCSS
$custom: #227515;
$custom-light: #6b9e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#227515",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 111.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.494,
    "c": 0.15022,
    "h": 141.3
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

primary
#227515
secondary
#9C3BAB
accent
#3BECD4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227515

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

Preview Lab → · Contrast checker → · Palette generator →

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