#227D43#227D43

#227D43 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.123 H 151.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#227D43
RGBrgb(34, 125, 67)
HSLhsl(142, 57%, 31%)
HSVhsv(142, 73%, 49%)
CMYKcmyk(72.8%, 0%, 46.4%, 51%)
CIE-LABlab(46.19, -40.13, 24.13)
CIE-LCHlch(46.19, 46.83, 148.98°)
OKLaboklab(52.25% -0.1081 0.0594)
OKLCHoklch(52.25% 0.123 151.2)
XYZxyz(9.0057, 15.4116, 7.8092)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D43 #7D225C
analogous
#2E7D22 #227D43 #227D70
triadic
#227D43 #43227D #7D4322
tetradic
#227D43 #222E7D #7D225C #7D7022
square
#227D43 #222E7D #7D225C #7D7022
split-complementary
#227D43 #70227D #7D222E
monochromatic
#081D0F #154D29 #227D43 #2FAD5D #4BCE7B

Accessibility & contrast

On white

5.14
#227D43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#227D43 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D43
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D43#FFFFFF#000000##FFFFFF
##227D431.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723F
Deuteranopia (green-blind)
#726A47
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d43;
/* rgb */ color: rgb(34, 125, 67);
/* oklch */ color: oklch(52.3% 0.123 151.2);
Tailwind
colors: {
  custom: {
    50: '#6ba378',
    500: '#227d43',
    950: '#000000',
  },
}
SCSS
$custom: #227d43;
$custom-light: #6ba378;
$custom-dark: #000000;
JSON
{
  "hex": "#227d43",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 67
  },
  "hsl": {
    "h": 141.758,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52254,
    "c": 0.1233,
    "h": 151.2
  },
  "luminance": 0.15413
}

Semantic roles & 50–950 ramp

primary
#227D43
secondary
#B04B8B
accent
#47A9E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227D43

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

Preview Lab → · Contrast checker → · Palette generator →

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