#227C43#227C43

#227C43 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.122 H 151.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#227C43
RGBrgb(34, 124, 67)
HSLhsl(142, 57%, 31%)
HSVhsv(142, 73%, 49%)
CMYKcmyk(72.6%, 0%, 46%, 51.4%)
CIE-LABlab(45.85, -39.73, 23.69)
CIE-LCHlch(45.85, 46.26, 149.19°)
OKLaboklab(51.97% -0.107 0.0583)
OKLCHoklch(51.97% 0.122 151.4)
XYZxyz(8.8797, 15.1596, 7.7672)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C43 #7C225B
analogous
#2E7C22 #227C43 #227C70
triadic
#227C43 #43227C #7C4322
tetradic
#227C43 #222E7C #7C225B #7C7022
square
#227C43 #222E7C #7C225B #7C7022
split-complementary
#227C43 #70227C #7C222E
monochromatic
#081C0F #154C29 #227C43 #2FAC5D #4BCE7B

Accessibility & contrast

On white

5.21
#227C43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#227C43 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C43
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C43#FFFFFF#000000##FFFFFF
##227C431.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713F
Deuteranopia (green-blind)
#716947
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227c43;
/* rgb */ color: rgb(34, 124, 67);
/* oklch */ color: oklch(52.0% 0.122 151.4);
Tailwind
colors: {
  custom: {
    50: '#6aa378',
    500: '#227c43',
    950: '#000000',
  },
}
SCSS
$custom: #227c43;
$custom-light: #6aa378;
$custom-dark: #000000;
JSON
{
  "hex": "#227c43",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 67
  },
  "hsl": {
    "h": 142,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.12189,
    "h": 151.4
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#227C43
secondary
#AF4B8A
accent
#48A8E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227C43

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

Preview Lab → · Contrast checker → · Palette generator →

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