#227E26#227E26

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

Color values

HEX#227E26
RGBrgb(34, 126, 38)
HSLhsl(123, 58%, 31%)
HSVhsv(123, 73%, 49%)
CMYKcmyk(73%, 0%, 69.8%, 50.6%)
CIE-LABlab(46.18, -44.68, 38.78)
CIE-LCHlch(46.18, 59.16, 139.04°)
OKLaboklab(52.13% -0.1211 0.0893)
OKLCHoklch(52.13% 0.15 143.6)
XYZxyz(8.4699, 15.4008, 4.3596)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E26 #7E227A
analogous
#4C7E22 #227E26 #227E54
triadic
#227E26 #26227E #7E2622
tetradic
#227E26 #224C7E #7E227A #7E5422
square
#227E26 #224C7E #7E227A #7E5422
split-complementary
#227E26 #54227E #7E224C
monochromatic
#081E09 #154E17 #227E26 #2FAE35 #4CCF51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227E26#FFFFFF#000000##FFFFFF
##227E261.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)
#81721A
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#027A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e26;
/* rgb */ color: rgb(34, 126, 38);
/* oklch */ color: oklch(52.1% 0.150 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ca465',
    500: '#227e26',
    950: '#000000',
  },
}
SCSS
$custom: #227e26;
$custom-light: #6ca465;
$custom-dark: #000000;
JSON
{
  "hex": "#227e26",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 122.609,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.15046,
    "h": 143.6
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#227E26
secondary
#B14BAC
accent
#47DAE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227E26

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

Preview Lab → · Contrast checker → · Palette generator →

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