#227F46#227F46

#227F46 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.123 H 152.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#227F46
RGBrgb(34, 127, 70)
HSLhsl(143, 58%, 32%)
HSVhsv(143, 73%, 50%)
CMYKcmyk(73.2%, 0%, 44.9%, 50.2%)
CIE-LABlab(46.92, -40.37, 23.41)
CIE-LCHlch(46.92, 46.67, 149.89°)
OKLaboklab(52.87% -0.1088 0.0578)
OKLCHoklch(52.87% 0.123 152)
XYZxyz(9.3538, 15.9600, 8.3808)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F46 #7F225B
analogous
#2D7F22 #227F46 #227F75
triadic
#227F46 #46227F #7F4622
tetradic
#227F46 #222D7F #7F225B #7F7522
square
#227F46 #222D7F #7F225B #7F7522
split-complementary
#227F46 #75227F #7F222D
monochromatic
#081E11 #154F2B #227F46 #2FAF61 #4CCF7F

Accessibility & contrast

On white

5.01
#227F46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#227F46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F46
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F46#FFFFFF#000000##FFFFFF
##227F461.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7442
Deuteranopia (green-blind)
#746C4A
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f46;
/* rgb */ color: rgb(34, 127, 70);
/* oklch */ color: oklch(52.9% 0.123 152.0);
Tailwind
colors: {
  custom: {
    50: '#6ba57a',
    500: '#227f46',
    950: '#000000',
  },
}
SCSS
$custom: #227f46;
$custom-light: #6ba57a;
$custom-dark: #000000;
JSON
{
  "hex": "#227f46",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 70
  },
  "hsl": {
    "h": 143.226,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.12316,
    "h": 152
  },
  "luminance": 0.15961
}

Semantic roles & 50–950 ramp

primary
#227F46
secondary
#B24B8A
accent
#47A5E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227F46

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

Preview Lab → · Contrast checker → · Palette generator →

#227F46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva