#227E25#227E25

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

Color values

HEX#227E25
RGBrgb(34, 126, 37)
HSLhsl(122, 58%, 31%)
HSVhsv(122, 73%, 49%)
CMYKcmyk(73%, 0%, 70.6%, 50.6%)
CIE-LABlab(46.17, -44.78, 39.21)
CIE-LCHlch(46.17, 59.52, 138.80°)
OKLaboklab(52.12% -0.1214 0.0901)
OKLCHoklch(52.12% 0.151 143.4)
XYZxyz(8.4539, 15.3944, 4.2758)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E25 #7E227B
analogous
#4D7E22 #227E25 #227E53
triadic
#227E25 #25227E #7E2522
tetradic
#227E25 #224D7E #7E227B #7E5322
square
#227E25 #224D7E #7E227B #7E5322
split-complementary
#227E25 #53227E #7E224D
monochromatic
#081E09 #154E17 #227E25 #2FAE33 #4CCF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227E25#FFFFFF#000000##FFFFFF
##227E251.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)
#817218
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#037A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e25;
/* rgb */ color: rgb(34, 126, 37);
/* oklch */ color: oklch(52.1% 0.151 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ca464',
    500: '#227e25',
    950: '#000000',
  },
}
SCSS
$custom: #227e25;
$custom-light: #6ca464;
$custom-dark: #000000;
JSON
{
  "hex": "#227e25",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 121.957,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.15119,
    "h": 143.4
  },
  "luminance": 0.15395
}

Semantic roles & 50–950 ramp

primary
#227E25
secondary
#B14BAD
accent
#47DCE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227E25

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

Preview Lab → · Contrast checker → · Palette generator →

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