#227920#227920

#227920 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.148 H 142.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#227920
RGBrgb(34, 121, 32)
HSLhsl(119, 58%, 30%)
HSVhsv(119, 74%, 47%)
CMYKcmyk(71.9%, 0%, 73.6%, 52.5%)
CIE-LABlab(44.40, -43.47, 39.46)
CIE-LCHlch(44.40, 58.71, 137.77°)
OKLaboklab(50.64% -0.1181 0.09)
OKLCHoklch(50.64% 0.148 142.7)
XYZxyz(7.7573, 14.1183, 3.6825)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227920 #772079
analogous
#4E7920 #227920 #20794B
triadic
#227920 #202279 #792022
tetradic
#227920 #204E79 #772079 #794B20
square
#227920 #204E79 #772079 #794B20
split-complementary
#227920 #4B2079 #79204E
monochromatic
#071806 #144913 #227920 #30A92D #49CE45

Accessibility & contrast

On white

5.49
#227920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#227920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227920
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227920#FFFFFF#000000##FFFFFF
##2279201.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D12
Deuteranopia (green-blind)
#726629
Tritanopia (blue-blind)
#097567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227920;
/* rgb */ color: rgb(34, 121, 32);
/* oklch */ color: oklch(50.6% 0.148 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ba161',
    500: '#227920',
    950: '#000000',
  },
}
SCSS
$custom: #227920;
$custom-light: #6ba161;
$custom-dark: #000000;
JSON
{
  "hex": "#227920",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 118.652,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.50638,
    "c": 0.14848,
    "h": 142.7
  },
  "luminance": 0.14119
}

Semantic roles & 50–950 ramp

primary
#227920
secondary
#AA49AC
accent
#46E1DE
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #227920

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

Preview Lab → · Contrast checker → · Palette generator →

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