#227D26#227D26

#227D26 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.149 H 143.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#227D26
RGBrgb(34, 125, 38)
HSLhsl(123, 57%, 31%)
HSVhsv(123, 73%, 49%)
CMYKcmyk(72.8%, 0%, 69.6%, 51%)
CIE-LABlab(45.83, -44.32, 38.41)
CIE-LCHlch(45.83, 58.65, 139.08°)
OKLaboklab(51.84% -0.1201 0.0885)
OKLCHoklch(51.84% 0.149 143.6)
XYZxyz(8.3426, 15.1463, 4.3172)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D26 #7D2279
analogous
#4B7D22 #227D26 #227D53
triadic
#227D26 #26227D #7D2622
tetradic
#227D26 #224B7D #7D2279 #7D5322
square
#227D26 #224B7D #7D2279 #7D5322
split-complementary
#227D26 #53227D #7D224B
monochromatic
#081D09 #154D17 #227D26 #2FAD35 #4BCE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227D26#FFFFFF#000000##FFFFFF
##227D261.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)
#80711A
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#03796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d26;
/* rgb */ color: rgb(34, 125, 38);
/* oklch */ color: oklch(51.8% 0.149 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ca465',
    500: '#227d26',
    950: '#000000',
  },
}
SCSS
$custom: #227d26;
$custom-light: #6ca465;
$custom-dark: #000000;
JSON
{
  "hex": "#227d26",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 122.637,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51841,
    "c": 0.14921,
    "h": 143.6
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#227D26
secondary
#B04BAB
accent
#47DAE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227D26

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

Preview Lab → · Contrast checker → · Palette generator →

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