#227022#227022

#227022 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.136 H 143.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#227022
RGBrgb(34, 112, 34)
HSLhsl(120, 53%, 29%)
HSVhsv(120, 70%, 44%)
CMYKcmyk(69.6%, 0%, 69.6%, 56.1%)
CIE-LABlab(41.28, -39.94, 35.28)
CIE-LCHlch(41.28, 53.29, 138.54°)
OKLaboklab(48.06% -0.1084 0.0814)
OKLCHoklch(48.06% 0.136 143.1)
XYZxyz(6.7422, 12.0432, 3.4823)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227022 #702270
analogous
#497022 #227022 #227049
triadic
#227022 #222270 #702222
tetradic
#227022 #224970 #702270 #704922
square
#227022 #224970 #702270 #704922
split-complementary
#227022 #492270 #702249
monochromatic
#071707 #144114 #227022 #309F30 #46C746

Accessibility & contrast

On white

6.16
#227022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#227022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227022
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227022#FFFFFF#000000##FFFFFF
##2270221.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#695F29
Tritanopia (blue-blind)
#0F6D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #227022;
/* rgb */ color: rgb(34, 112, 34);
/* oklch */ color: oklch(48.1% 0.136 143.1);
Tailwind
colors: {
  custom: {
    50: '#699a61',
    500: '#227022',
    950: '#000000',
  },
}
SCSS
$custom: #227022;
$custom-light: #699a61;
$custom-dark: #000000;
JSON
{
  "hex": "#227022",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48061,
    "c": 0.13561,
    "h": 143.1
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#227022
secondary
#A34AA3
accent
#4BDDDD
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #227022

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

Preview Lab → · Contrast checker → · Palette generator →

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