#227934#227934

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

Color values

HEX#227934
RGBrgb(34, 121, 52)
HSLhsl(132, 56%, 30%)
HSVhsv(132, 72%, 47%)
CMYKcmyk(71.9%, 0%, 57%, 52.5%)
CIE-LABlab(44.61, -41.05, 30.24)
CIE-LCHlch(44.61, 50.99, 143.63°)
OKLaboklab(50.87% -0.1107 0.0723)
OKLCHoklch(50.87% 0.132 146.9)
XYZxyz(8.1163, 14.2619, 5.5732)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227934 #792267
analogous
#3B7922 #227934 #22795F
triadic
#227934 #342279 #793422
tetradic
#227934 #223B79 #792267 #795F22
square
#227934 #223B79 #792267 #795F22
split-complementary
#227934 #5F2279 #79223B
monochromatic
#07190B #15491F #227934 #2FA949 #49CC64

Accessibility & contrast

On white

5.45
#227934 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#227934 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227934
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227934#FFFFFF#000000##FFFFFF
##2279341.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2E
Deuteranopia (green-blind)
#706739
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227934;
/* rgb */ color: rgb(34, 121, 52);
/* oklch */ color: oklch(50.9% 0.132 146.9);
Tailwind
colors: {
  custom: {
    50: '#6aa16d',
    500: '#227934',
    950: '#000000',
  },
}
SCSS
$custom: #227934;
$custom-light: #6aa16d;
$custom-dark: #000000;
JSON
{
  "hex": "#227934",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 52
  },
  "hsl": {
    "h": 132.414,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50873,
    "c": 0.13222,
    "h": 146.9
  },
  "luminance": 0.14263
}

Semantic roles & 50–950 ramp

primary
#227934
secondary
#AC4B98
accent
#48C0DF
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227934

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

Preview Lab → · Contrast checker → · Palette generator →

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