#227F14#227F14

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

Color values

HEX#227F14
RGBrgb(34, 127, 20)
HSLhsl(112, 73%, 29%)
HSVhsv(112, 84%, 50%)
CMYKcmyk(73.2%, 0%, 84.3%, 50.2%)
CIE-LABlab(46.40, -46.49, 45.71)
CIE-LCHlch(46.40, 65.19, 135.48°)
OKLaboklab(52.28% -0.1269 0.1013)
OKLCHoklch(52.28% 0.162 141.4)
XYZxyz(8.3749, 15.5684, 3.2253)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F14 #71147F
analogous
#587F14 #227F14 #147F3C
triadic
#227F14 #14227F #7F1422
tetradic
#227F14 #14587F #71147F #7F3C14
square
#227F14 #14587F #71147F #7F3C14
split-complementary
#227F14 #3C147F #7F1458
monochromatic
#071A04 #144A0C #227F14 #30B41C #46DE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227F14#FFFFFF#000000##FFFFFF
##227F141.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: #227f14;
/* rgb */ color: rgb(34, 127, 20);
/* oklch */ color: oklch(52.3% 0.162 141.4);
Tailwind
colors: {
  custom: {
    50: '#6da55c',
    500: '#227f14',
    950: '#000000',
  },
}
SCSS
$custom: #227f14;
$custom-light: #6da55c;
$custom-dark: #000000;
JSON
{
  "hex": "#227f14",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 112.15,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52275,
    "c": 0.16235,
    "h": 141.4
  },
  "luminance": 0.15569
}

Semantic roles & 50–950 ramp

primary
#227F14
secondary
#A43BB4
accent
#38EFD8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #227F14

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

Preview Lab → · Contrast checker → · Palette generator →

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