#227320#227320

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

Color values

HEX#227320
RGBrgb(34, 115, 32)
HSLhsl(119, 56%, 29%)
HSVhsv(119, 72%, 45%)
CMYKcmyk(70.4%, 0%, 72.2%, 54.9%)
CIE-LABlab(42.32, -41.27, 37.28)
CIE-LCHlch(42.32, 55.61, 137.91°)
OKLaboklab(48.91% -0.1122 0.0854)
OKLCHoklch(48.91% 0.141 142.7)
XYZxyz(7.0507, 12.7051, 3.4470)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227320 #712073
analogous
#4C7320 #227320 #207348
triadic
#227320 #202273 #732022
tetradic
#227320 #204C73 #712073 #734820
square
#227320 #204C73 #712073 #734820
split-complementary
#227320 #482073 #73204C
monochromatic
#071807 #144313 #227320 #30A32D #46CB43

Accessibility & contrast

On white

5.93
#227320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#227320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227320
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227320#FFFFFF#000000##FFFFFF
##2273201.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766814
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#0E6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227320;
/* rgb */ color: rgb(34, 115, 32);
/* oklch */ color: oklch(48.9% 0.141 142.7);
Tailwind
colors: {
  custom: {
    50: '#6a9c60',
    500: '#227320',
    950: '#000000',
  },
}
SCSS
$custom: #227320;
$custom-light: #6a9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#227320",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 118.554,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48909,
    "c": 0.14096,
    "h": 142.7
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#227320
secondary
#A448A7
accent
#48E0DC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #227320

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

Preview Lab → · Contrast checker → · Palette generator →

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