#227E23#227E23

#227E23 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.153 H 143.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#227E23
RGBrgb(34, 126, 35)
HSLhsl(121, 58%, 31%)
HSVhsv(121, 73%, 49%)
CMYKcmyk(73%, 0%, 72.2%, 50.6%)
CIE-LABlab(46.15, -44.98, 40.04)
CIE-LCHlch(46.15, 60.22, 138.32°)
OKLaboklab(52.1% -0.1221 0.0916)
OKLCHoklch(52.1% 0.153 143.1)
XYZxyz(8.4234, 15.3822, 4.1149)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E23 #7E227D
analogous
#4F7E22 #227E23 #227E51
triadic
#227E23 #23227E #7E2322
tetradic
#227E23 #224F7E #7E227D #7E5122
square
#227E23 #224F7E #7E227D #7E5122
split-complementary
#227E23 #51227E #7E224F
monochromatic
#081E08 #154E16 #227E23 #2FAE30 #4CCF4D

Accessibility & contrast

On white

5.15
#227E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227E23
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E23#FFFFFF#000000##FFFFFF
##227E231.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#766B2C
Tritanopia (blue-blind)
#047A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e23;
/* rgb */ color: rgb(34, 126, 35);
/* oklch */ color: oklch(52.1% 0.153 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ca463',
    500: '#227e23',
    950: '#000000',
  },
}
SCSS
$custom: #227e23;
$custom-light: #6ca463;
$custom-dark: #000000;
JSON
{
  "hex": "#227e23",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 120.652,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52098,
    "c": 0.15259,
    "h": 143.1
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

primary
#227E23
secondary
#B14BAF
accent
#47DFE1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #227E23

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

Preview Lab → · Contrast checker → · Palette generator →

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