#227015#227015

#227015 is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.144 H 141.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#227015
RGBrgb(34, 112, 21)
HSLhsl(111, 68%, 26%)
HSVhsv(111, 81%, 44%)
CMYKcmyk(69.6%, 0%, 81.2%, 56.1%)
CIE-LABlab(41.19, -41.10, 40.46)
CIE-LCHlch(41.19, 57.67, 135.45°)
OKLaboklab(47.95% -0.1123 0.0905)
OKLCHoklch(47.95% 0.144 141.2)
XYZxyz(6.5889, 11.9819, 2.6748)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227015 #631570
analogous
#4F7015 #227015 #157035
triadic
#227015 #152270 #701522
tetradic
#227015 #154F70 #631570 #703515
square
#227015 #154F70 #631570 #703515
split-complementary
#227015 #351570 #70154F
monochromatic
#081A05 #123C0B #227015 #32A41F #41D729

Accessibility & contrast

On white

6.18
#227015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#227015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227015
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227015#FFFFFF#000000##FFFFFF
##2270151.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#136C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #227015;
/* rgb */ color: rgb(34, 112, 21);
/* oklch */ color: oklch(47.9% 0.144 141.2);
Tailwind
colors: {
  custom: {
    50: '#6a9a5a',
    500: '#227015',
    950: '#000000',
  },
}
SCSS
$custom: #227015;
$custom-light: #6a9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#227015",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 111.429,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47949,
    "c": 0.14421,
    "h": 141.2
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#227015
secondary
#973BA6
accent
#3DEBD2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227015

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

Preview Lab → · Contrast checker → · Palette generator →

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