#227E1E#227E1E

#227E1E is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.156 H 142.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#227E1E
RGBrgb(34, 126, 30)
HSLhsl(118, 62%, 31%)
HSVhsv(118, 76%, 49%)
CMYKcmyk(73%, 0%, 76.2%, 50.6%)
CIE-LABlab(46.12, -45.43, 42.02)
CIE-LCHlch(46.12, 61.88, 137.24°)
OKLaboklab(52.05% -0.1235 0.095)
OKLCHoklch(52.05% 0.156 142.4)
XYZxyz(8.3544, 15.3546, 3.7515)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E1E #7A1E7E
analogous
#527E1E #227E1E #1E7E4A
triadic
#227E1E #1E227E #7E1E22
tetradic
#227E1E #1E527E #7A1E7E #7E4A1E
square
#227E1E #1E527E #7A1E7E #7E4A1E
split-complementary
#227E1E #4A1E7E #7E1E52
monochromatic
#071B06 #154D12 #227E1E #2FAF2A #4AD244

Accessibility & contrast

On white

5.16
#227E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#227E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E1E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E1E#FFFFFF#000000##FFFFFF
##227E1E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#067A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e1e;
/* rgb */ color: rgb(34, 126, 30);
/* oklch */ color: oklch(52.1% 0.156 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ca461',
    500: '#227e1e',
    950: '#000000',
  },
}
SCSS
$custom: #227e1e;
$custom-light: #6ca461;
$custom-dark: #000000;
JSON
{
  "hex": "#227e1e",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 117.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.15586,
    "h": 142.4
  },
  "luminance": 0.15356
}

Semantic roles & 50–950 ramp

primary
#227E1E
secondary
#AD47B1
accent
#43E5DE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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