#227520#227520

#227520 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.143 H 142.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#227520
RGBrgb(34, 117, 32)
HSLhsl(119, 57%, 29%)
HSVhsv(119, 73%, 46%)
CMYKcmyk(70.9%, 0%, 72.6%, 54.1%)
CIE-LABlab(43.01, -42.01, 38.01)
CIE-LCHlch(43.01, 56.65, 137.86°)
OKLaboklab(49.49% -0.1142 0.0869)
OKLCHoklch(49.49% 0.143 142.7)
XYZxyz(7.2813, 13.1662, 3.5238)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227520 #732075
analogous
#4D7520 #227520 #207549
triadic
#227520 #202275 #752022
tetradic
#227520 #204D75 #732075 #754920
square
#227520 #204D75 #732075 #754920
split-complementary
#227520 #492075 #75204D
monochromatic
#071807 #144513 #227520 #30A52D #47CC44

Accessibility & contrast

On white

5.78
#227520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#227520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227520
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227520#FFFFFF#000000##FFFFFF
##2275201.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A13
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#0D7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #227520;
/* rgb */ color: rgb(34, 117, 32);
/* oklch */ color: oklch(49.5% 0.143 142.7);
Tailwind
colors: {
  custom: {
    50: '#6a9e61',
    500: '#227520',
    950: '#000000',
  },
}
SCSS
$custom: #227520;
$custom-light: #6a9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#227520",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 118.588,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.14349,
    "h": 142.7
  },
  "luminance": 0.13167
}

Semantic roles & 50–950 ramp

primary
#227520
secondary
#A648A8
accent
#47E0DD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #227520

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

Preview Lab → · Contrast checker → · Palette generator →

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