#227F43#227F43

#227F43 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.126 H 150.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#227F43
RGBrgb(34, 127, 67)
HSLhsl(141, 58%, 32%)
HSVhsv(141, 73%, 50%)
CMYKcmyk(73.2%, 0%, 47.2%, 50.2%)
CIE-LABlab(46.87, -40.92, 25.00)
CIE-LCHlch(46.87, 47.96, 148.57°)
OKLaboklab(52.82% -0.1102 0.0614)
OKLCHoklch(52.82% 0.126 150.9)
XYZxyz(9.2614, 15.9230, 7.8945)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F43 #7F225E
analogous
#307F22 #227F43 #227F72
triadic
#227F43 #43227F #7F4322
tetradic
#227F43 #22307F #7F225E #7F7222
square
#227F43 #22307F #7F225E #7F7222
split-complementary
#227F43 #72227F #7F2230
monochromatic
#081E10 #154F2A #227F43 #2FAF5C #4CCF7B

Accessibility & contrast

On white

5.02
#227F43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#227F43 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F43
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F43#FFFFFF#000000##FFFFFF
##227F431.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743E
Deuteranopia (green-blind)
#746C47
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f43;
/* rgb */ color: rgb(34, 127, 67);
/* oklch */ color: oklch(52.8% 0.126 150.9);
Tailwind
colors: {
  custom: {
    50: '#6ba578',
    500: '#227f43',
    950: '#000000',
  },
}
SCSS
$custom: #227f43;
$custom-light: #6ba578;
$custom-dark: #000000;
JSON
{
  "hex": "#227f43",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 67
  },
  "hsl": {
    "h": 141.29,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52816,
    "c": 0.12611,
    "h": 150.9
  },
  "luminance": 0.15924
}

Semantic roles & 50–950 ramp

primary
#227F43
secondary
#B24B8D
accent
#47AAE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227F43

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

Preview Lab → · Contrast checker → · Palette generator →

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