#227B15#227B15

#227B15 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.1% C 0.157 H 141.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#227B15
RGBrgb(34, 123, 21)
HSLhsl(112, 71%, 28%)
HSVhsv(112, 83%, 48%)
CMYKcmyk(72.4%, 0%, 82.9%, 51.8%)
CIE-LABlab(45.02, -45.04, 44.12)
CIE-LCHlch(45.02, 63.04, 135.59°)
OKLaboklab(51.13% -0.1229 0.0981)
OKLCHoklch(51.13% 0.157 141.4)
XYZxyz(7.8776, 14.5593, 3.1044)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B15 #6E157B
analogous
#557B15 #227B15 #157B3B
triadic
#227B15 #15227B #7B1522
tetradic
#227B15 #15557B #6E157B #7B3B15
square
#227B15 #15557B #6E157B #7B3B15
split-complementary
#227B15 #3B157B #7B1555
monochromatic
#071A04 #14470C #227B15 #30AF1E #45DB2F

Accessibility & contrast

On white

5.37
#227B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#227B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B15
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B15#FFFFFF#000000##FFFFFF
##227B151.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#0C7768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b15;
/* rgb */ color: rgb(34, 123, 21);
/* oklch */ color: oklch(51.1% 0.157 141.4);
Tailwind
colors: {
  custom: {
    50: '#6ca25c',
    500: '#227b15',
    950: '#000000',
  },
}
SCSS
$custom: #227b15;
$custom-light: #6ca25c;
$custom-dark: #000000;
JSON
{
  "hex": "#227b15",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 112.353,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.15727,
    "h": 141.4
  },
  "luminance": 0.1456
}

Semantic roles & 50–950 ramp

primary
#227B15
secondary
#A13BB0
accent
#3AEED7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #227B15

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

Preview Lab → · Contrast checker → · Palette generator →

#227B15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva