#227F15#227F15

#227F15 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.162 H 141.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#227F15
RGBrgb(34, 127, 21)
HSLhsl(113, 72%, 29%)
HSVhsv(113, 83%, 50%)
CMYKcmyk(73.2%, 0%, 83.5%, 50.2%)
CIE-LABlab(46.41, -46.43, 45.41)
CIE-LCHlch(46.41, 64.94, 135.63°)
OKLaboklab(52.28% -0.1267 0.1008)
OKLCHoklch(52.28% 0.162 141.5)
XYZxyz(8.3840, 15.5721, 3.2732)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F15 #72157F
analogous
#577F15 #227F15 #157F3D
triadic
#227F15 #15227F #7F1522
tetradic
#227F15 #15577F #72157F #7F3D15
square
#227F15 #15577F #72157F #7F3D15
split-complementary
#227F15 #3D157F #7F1557
monochromatic
#071A04 #144A0C #227F15 #30B41E #46DD31

Accessibility & contrast

On white

5.10
#227F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#227F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F15
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F15#FFFFFF#000000##FFFFFF
##227F151.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#087B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227f15;
/* rgb */ color: rgb(34, 127, 21);
/* oklch */ color: oklch(52.3% 0.162 141.5);
Tailwind
colors: {
  custom: {
    50: '#6da55d',
    500: '#227f15',
    950: '#000000',
  },
}
SCSS
$custom: #227f15;
$custom-light: #6da55d;
$custom-dark: #000000;
JSON
{
  "hex": "#227f15",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 112.642,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.16189,
    "h": 141.5
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#227F15
secondary
#A53CB4
accent
#39EED8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227F15

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

Preview Lab → · Contrast checker → · Palette generator →

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